Closed Keithleo9008 closed 7 years ago
To validate reference tokens, the library uses introspection (https://identityserver4.readthedocs.io/en/release/endpoints/introspection.html), which requires your API to be configured with an API secret.
Any update on the issue? closing for now - feel free to re-open if it needs further discussion.
Hi,
For some reason my "access_token" is not being found and validated by the API client when doing a get from the java script client.
I have checked the request headers to make sure it is indeed being set before the request is made to the API and all is good there i see, debugging the HttpContext in the API i see the following:
Bearer df0fe103ddee84f3a813a26f9b2feb6224693b801fc81dd95c08f055ef8e5523
So the header is being sent with the request to the API
On the API side my config is as follows:
And the API client is simply configured as:
I can Authenticate against the identity server fine with "id_token" but i cannot access API resources which are protected with the [Authorize] attribute
My logs shows the following:
Really hoping somebody can assist i cannot figure this one out