<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000A3fPHNCQ2Okta Classic EngineAuthenticationAnswered2025-10-11T09:00:47.000Z2024-03-19T20:00:28.000Z2024-04-14T21:34:15.000Z

vtvux (vtvux) asked a question.

The Validated Security Token must be of type JsonWebToken, but instead its type is 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.

I cloned the application demo logging into a Blazor app using https://github.com/okta/samples-blazor.git.

 

I ended up creating my own Blazor app with the most recent version of Okta.AspNetCore, but duplicating everything found in the sample.

 

Very few bumps in the road until this one. When my token comes back, I immediately am greeted with this message like the token I received back is wrong: The Validated Security Token must be of type JsonWebToken, but instead its type is 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.

 

Where is it set up what type of token I get back?


This question is closed.
Loading
The Validated Security Token must be of type JsonWebToken, but instead its type is 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.