All right, and before we complete our register controller, I also want to set up these two hours of
the JWT secret on as well as JWT a lifetime in the north area.
And then we'll swing back to our create JWT and use those values instead.
So the first thing that we want to do is navigate to data entry and then we want to create those variables.
And as a side note.
For my daughter, envy, I use this extension, so there a dot in V expansion of I just nicely supports
the Fox syntax.
That's why my variables are different color than the value, just as a side note.
So like I said, we're going to go here with the British secret and in a second, I'll show you where
we can grab nice values and also do the same thing here with JWT and Lifetime.
And for the left time on right away from the get go.
I'll set it equal to one.
Now, when it comes to JWT secret, I actually prefer recite the all keys generator.
So we have a link over here.
You can nicely navigate you're looking here for 256 encryption key.
So come here if you want, you can donate.
You're looking for encryption key.
256 and then just grab whatever value you want.
So as you keep talking, all generates new keys.
So I think I'm going to go with this one than once.
Navigate back to our server.
We're looking for dot and re copy and paste.
And then before we start the server, we also want to go to user and in credibility.
Like I said, we're going to go with process, process, data entry and then we're looking for JWT and
non secret.
Now, what we also want to access is that one day, so instead of hard quoting here, can go with process
data entry and then JWT underscore and learn a lifetime.
Why don't we save and make sure that if your server is running, you need to restart it?
Because we didn't make changes in data entry, and every time we do that, we need to restart the server.
So let me do that.
And if everything is correct, we should still see Port five thousand.
Now, I'm not going to check the response in this video because the next one will complete the register
so we might as well do everything at the same time.