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

return url redirection issue

Open pankajmonga10 opened this issue 5 years ago • 1 comments

If I configure only sign-in policy with the plugin then after login with active directory, user is being redirected to site home page. Post login, even if i try to navigate to wp-admin again it is being redirected to the site home page only. I am unable to access the wordpress admin dashboard post successful login. This behavior is working fine if i configure both signup and sign in policies.

pankajmonga10 avatar Apr 18 '19 07:04 pankajmonga10

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