Repository navigation
Replies: 2 comments
|
I have the exact same use case. The problem is that an offline session is not allowed to get a new refresh token when using token exchange. |
|
One way to do this: You can use your mobile app with regular sessions, and not offline sessions. Then this should work as expected. If you still want to use offline tokens: @mkunz-it created an extension here to allow for that scenario: https://github.com/mkunz-it/keycloak-token-auth |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi folks,
There is a website (client1), mobile app (client2) and keycloak. A user opens a mobile app which sends them to keycloak for authentication. After successful authentication the mobile app becomes an offline token and the user stays logged in in the mobile app for a very long time.
Requirement: an authenticated mobile app user which opens the website (client1) in the mobile apps webview should be automatically logged in in the website, because he is already authenticated in the mobile app.
Is it possible? I would be very appreciated for pointing me to the right direction.
Thanks in advance.
All reactions