active-directory-b2c-wordpress-plugin-openidconnect
active-directory-b2c-wordpress-plugin-openidconnect copied to clipboard
Return URL not honered
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
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?