active-directory-b2c-wordpress-plugin-openidconnect icon indicating copy to clipboard operation
active-directory-b2c-wordpress-plugin-openidconnect copied to clipboard

Return URL not honered

Open RiaanGouws opened this issue 5 years ago • 1 comments

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

RiaanGouws avatar Apr 17 '19 14:04 RiaanGouws

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?

TomBertie avatar May 19 '19 09:05 TomBertie