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

Missing end_session endpoint #90

Open
verymilan opened this issue Jun 3, 2023 · 2 comments
Open

Missing end_session endpoint #90

verymilan opened this issue Jun 3, 2023 · 2 comments

Comments

@verymilan
Copy link

Hi there, I have used this plugin to connect a Keycloak to Wordpress. It would be important to ensure that if a user logs out, they are logged out from the connected client, Keycloak and the Wordpress in this szenario. Sadly this does not work for the Wordpress part and i came to realize that the plugin does not actually provide such an endpoint in the first place, so this option couldn't be activated for the IDP.

Would be a great addition to this otherwise wonderfully working plugin. :)

SCR-20230603-qeok
@ashfame
Copy link
Member

ashfame commented Jun 5, 2023

Hi @verymilan

I am not familiar with Keycloak, but seems like Keycloak & WordPress with this plugin together acts as the OAuth server for the main application. Would that be correct for me to say?

If so, you are stating, when the user logs out from your main application, it can communicate back to WordPress to log the user out on WordPress side as well? And that's what's missing for your use case?

@verymilan
Copy link
Author

Hi, yea Keycloak right now is a kinda in between step for us. While Keycloak is a SSO server, it as well can offer identity provider logins such as Google and various others to users.
So right now, if a user chooses to signin with OpenID, they will be redirected to Keycloak where they have two choices, where one is the Wordpress. It's not ideal, i know, but right now it's needed.

In turn, if they logout in this szenario, they will be logged out from the application and in Keycloak, but since the oidc server on Wordpress misses the required endpoint, they will stay logged in there.

This would also mean that if the app was directly added to Wordpress, a user would not be logged out from Wordpress if they logged out from the app, so that's not really a Keycloak specific problem ... unless there is something i've missed. :)
While afaik not all, many applications support this endpoint.

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

No branches or pull requests

2 participants