IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

AccessTokenType.Reference does not work! Still returns JWT

Open behrooz66 opened this issue 7 years ago • 4 comments

I have added the following to the definition of my client as per the documentations instructions: AccessTokenType = AccessTokenType.Reference,

But still when I hit the ../connect/token endpoint with proper username and password, I will get a JWT access token (and not a reference token). I am using the Resource Owner flow. Is there anything extra that has to be done and is not mentioned in the docs?

behrooz66 avatar Jan 14 '19 19:01 behrooz66

You must understand what this configuration parameter does

AutismPatient avatar Jan 15 '19 05:01 AutismPatient

That's all thats necessary. Check the samples in our samples repo.

leastprivilege avatar Jan 15 '19 08:01 leastprivilege

Thanks for the mean language you guys use every time there is a question in this forum that seems too low level for you. I have read the document on the reference tokens here:

and maybe the reason I didn't "understand" is because documentation is terrible. Thanks anyway, close the thread.

behrooz66 avatar Jan 15 '19 17:01 behrooz66

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 11 '20 23:01 lock[bot]