Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect after logout with Keycloak #1022

Open
5 of 6 tasks
0verEngineer opened this issue Nov 15, 2023 · 2 comments
Open
5 of 6 tasks

Redirect after logout with Keycloak #1022

0verEngineer opened this issue Nov 15, 2023 · 2 comments
Labels

Comments

@0verEngineer
Copy link

0verEngineer commented Nov 15, 2023

Checklist:

  • I am using the latest release
  • I searched for existing GitHub issues
  • I read the documentation
  • I verified the client configuration matches the information in the identity provider (or I am using dynamic client registration)
  • I am either using a custom URI scheme or https with 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 idTokenHint and postLogoutRedirectUrl to be passed, i cannot pass postLogoutRedirectUrl alone.

Additional details:

  • login is working fine, but only if i use promptValues: ['login'],
  • i use the same custom URI scheme for logout and login
@0verEngineer
Copy link
Author

#50 Here the last comment says it works with Keycloak

@0verEngineer
Copy link
Author

@agologan Hey, sorry for disturbing you, but can you take a look at this issue as you commented in #50 that it works with keycloak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant