C
C#2mo ago
TilionDC

Is there an implementation for converting a SecurityToken to JsonWebToken?

Edit for formatting I'm not really sure if its an intermediate or advanced question. I am trying to make a little login framework to learn how the identitymodel works. I am generating tokens but I want to support many types of authentication so obviously supporting JsonWebTokens are a priority. Does anyone know if there is an existing implementation for converting Microsoft.IdentityModel.Tokens.SecurityToken to Microsoft.IdentityModel.JsonWebTokens.JsonWebToken For some reason JsonWebTokenHandler is implementing TokenHandler instead of SecurityTokenHandler so there isn't the CreateToken method from SecureTokenHandler but instead its own implementation of CreateToken that returns a string Its still possible to write a SecureToken from that string but I cant find any way to turn it back into a JsonWebToken
0 Replies
No replies yetBe the first to reply to this messageJoin