userlkjsflkdsvm
userlkjsflkdsvm

Reputation: 983

Identity Server JWT access token not coming back in full but only partial.

I'm calling my connect/token endpoint that identity server provides. When I'm entering my credentials to retrieve said access token, I am only getting back a partial token this long - 123456689080192830918230912830918203810928, without any periods in between. Unsure why the identity server is spitting this back out at me. Thanks.

Upvotes: 0

Views: 100

Answers (1)

m3n7alsnak3
m3n7alsnak3

Reputation: 3166

In your client configuration (in the IdentityServer) when setting up clients (like here - defining the client section) there is an option, in the Client object: AccessTokenType

To see the full JWT token, this option should NOT be set to AccessTokenType.Reference

You either set it to AccessTokenType.Jwt, or you dont set it at all, because Jwt is the default value.

Upvotes: 2

Related Questions