Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Return URL not honered #27

Open
RiaanGouws opened this issue Apr 17, 2019 · 1 comment
Open

Return URL not honered #27

RiaanGouws opened this issue Apr 17, 2019 · 1 comment

Comments

@RiaanGouws
Copy link

Hello

In our application, we do not want the user to be able to signup, only sign in via the application. Signup has a separate process. So we removed the Signup flow from AADB2C. After that, when we try to login via /wp-admin, we always get redirected back to the home page after login, instead of the wp-admin page. When trying to navigate to wp-admin then, the auth flow simple returns us to the home page.

Please advise.

Riaan Gouws

@TomBertie
Copy link

I had this problem. With me it was because the Email Address properties in B2C and therefore the Email Addresses claim were empty. This plugin searches for WP user by the first email in the claim. If it is empty the login fails and you will go back to the Home page as an un-logged in user. This may be the problem you are having?

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

No branches or pull requests

2 participants