0

Is it possible to set the token lifetime for different grant types in identityserver4.

Example: Can I can set lifetime with password grant to 20 mins and set lifetime with my extension grant to 10 mins?

Satyajit
  • 1,971
  • 5
  • 28
  • 51
  • You can set this for each client individually. – user1336 May 24 '17 at 11:32
  • Please see my response to a similar question [here](https://stackoverflow.com/a/32150404/2054754) where you can see two different ways to override the AccessTokenExpireTimeSpan. – jumuro May 24 '17 at 12:29
  • Thanks @jumuro . Can you share little more details about the implementation. – Satyajit May 24 '17 at 16:58
  • @Satyajit, it seems that IdentityServer4 doesn't use OAuthAuthorizationServerProvider, sorry for the mistake. I'm afraid I don't know how to do what you want with IdentityServer4. – jumuro May 25 '17 at 12:48

0 Answers0