AppAuth-Android
AppAuth-Android copied to clipboard
Redirect after logout with Keycloak
Checklist:
- [x] I am using the latest release
- [x] I searched for existing GitHub issues
- [x] I read the documentation
- [x] I verified the client configuration matches the information in the identity provider (or I am using dynamic client registration)
- [x] I am either using a custom URI scheme or
httpswith App Links for client redirect. - [ ] I can reproduce the issue in the demo app (optional) -> not tried
Configuration
- Version: 0.X.Y
- Integration: (flutter_appauth)
- Identity provider: (KeyCloack)
Issue Description
- After using the logout endpoint through appAuth Keycloak does not show/provide any user interaction, it just logs out and then the redirect will not work because chrome will not accept it.
- My problem is i have read in multiple issues that appAuth logout is tested and works with Keycloak so either i am doing something wrong or Keycloak can be configured to require a user interaction on logout.
- If i hit the logout endpoint from a logged in session without any query parameters i get a logout button, but this cannot be achieved with flutter_appauth because it requires both
idTokenHintandpostLogoutRedirectUrlto be passed, i cannot passpostLogoutRedirectUrlalone.
- If i hit the logout endpoint from a logged in session without any query parameters i get a logout button, but this cannot be achieved with flutter_appauth because it requires both
Additional details:
- login is working fine, but only if i use
promptValues: ['login'], - i use the same custom URI scheme for logout and login
https://github.com/openid/AppAuth-Android/issues/50 Here the last comment says it works with Keycloak
@agologan Hey, sorry for disturbing you, but can you take a look at this issue as you commented in https://github.com/openid/AppAuth-Android/issues/50 that it works with keycloak.