-
Hello my friends, i need help, I'm reading this documentation to implement JWT but the documentation say that this is for development local, but if i want develop the token right from the start or this documentation, Does it help me implement JWT globally?, If so, how would it be implemented?. I would also like to know if there is documentation about jwt that I can implement in projects or should I just use dotnet new user-jwt? Please, I've been doing this for 3 days and I can't find documentation on how to generate a jwt token. In a few words, what I want to do is generate a token and pass it through the API so that the frontend can capture it, the backend would be in .net with c# |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You need something that acts as "token provider", see https://jwt.io/introduction |
Beta Was this translation helpful? Give feedback.
Before creating the JWT you need to verify the user's credentials somehow.
The JwtSecurityToken can be created with JwtSecurityTokenHandler.
You can also use something like https://github.com/jwt-dotnet/jwt.
And read through jwt token factory asp.net core to understand what's needed for JWT.