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

Breaks SSO Login..? (Does it?) #66

Open
erebion opened this issue Dec 17, 2022 · 3 comments
Open

Breaks SSO Login..? (Does it?) #66

erebion opened this issue Dec 17, 2022 · 3 comments

Comments

@erebion
Copy link

erebion commented Dec 17, 2022

Okay, so this is a weird one.

I've got a Wordpress with "Authorizer" for Single Sign On (SSO), so that everyone at my local hackspace can log in to Wordpress using an SSO account.

Now, if I activate Mastodon Autopost, this breaks. Users can no longer log in.

Instead of getting example.com/wp-admin/, they get example.com and are not logged in. Even manually opening example.com/wp-admin/ does not work.

Could you please have a look what might be the issue? :)

I'm not sure why Mastodon Autopost would break this, it's not even a Plugin for something related.

As soon as I deactivate it, login works again.
As soon as I re-activate it, login breaks again.

Using version 3.6.6

@erebion erebion changed the title Breaks Login..? (Does it?) Breaks SSO Login..? (Does it?) Dec 17, 2022
@Philantrop
Copy link

I'm also using 3.6.6 and it does indeed break SSO just like erebion described it. Any chance to get you additional data that would help fixing this issue?

@verymilan
Copy link

+1, most unexpected plugin of them all, as i added sso only now and had to try disabling each in order to find the disturber :D

@pheerai
Copy link

pheerai commented Aug 8, 2023

Can confirm the issue as well, deactivating autopost fixes it.

Additionally, I noticed that each login through OIDC with autopost enabled removes the authorization information stored in autopost. It seems like there's an overlay in endpoints used to retrieve the auth code for both OIDC-Auth-Provider and Mastodon (/?code= vs. /wp-admin/?code=).

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

4 participants