Skip to content

How implement json web token in .net c#? #53438

Closed Answered by gfoidl
aisakk asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@aisakk
Comment options

@gfoidl
Comment options

gfoidl Jan 18, 2024
Collaborator

Answer selected by aisakk
@aisakk
Comment options

@aisakk
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants