dylanplecki / KeycloakOwinAuthentication

Keycloak Authentication Middleware for the C# OWIN Pipeline
http://keycloak.jboss.org
MIT License
56 stars 130 forks source link

Refresh Token support/test #50

Open amitt0488 opened 6 years ago

amitt0488 commented 6 years ago

I have few questions:

  1. Does this library supports refresh token ? I see a method called RefreshIdentity in KeycloakIdentityModel.cs
  2. If yes, then does it automatically fetches refresh token once access token gets expired ?
  3. How do we verify this on keycloak console ? I mean how do we check whether refresh token are being issued after access token expiration or not .. there are few options like Access token lifespan, SSO session idle, login action timeout etc in keycloak console under realm settings -> Tokens I tried decreasing access token lifespan to 1minute and SSO session idle to 2 minutes, but it didn't work. still IDP session is available.

If this library doesnot support refresh token, then what is the way to proceed. Thanks