How can i use ASP.NET CORE Identity with JWT
Hello guys i'm using Identity Package for authentication,and i want to implement JWT TOKEN to my auth system
Right now endpoints that comes with Identity works fine it returns token but it doesnt look like a JWT Token
The Login EP Returns
And here is my AddAuthentication in Program cs
4 Replies
The token doesn't seem right to me and i can't decode it
i don't believe there's a default implementation to make identity issue JWTs, all the examples i've seen online show implementing a custom controller
Okay thanks
You have to make service that will generate jwt for you based on needed claims