I am having a problem with Identity Server 3 and bearer token authentication.
Basically, I can call my Web API methods with an expired access token and the Web API authenticates the user and returns the data.
I have set my client to have an access token lifetime of 360 seconds and this indeed is the case when I check the claim.
How do I go about ensuring my Web API cannot be called with an expired access token. Do I need to set something in my IdentityServerBearerTokenAuthenticationOptions
?
Thanks.