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

Can't see the admin bar after successfull authentication

Open smozejko opened this issue 7 years ago • 3 comments

Hi, I've installed the ad b2c plugin for wordpress and I can successfully sign in but I can't see the admin bar with my user. When I sign up to wordpress site used as live example I can see it without any problem. What could be the reason for that?

smozejko avatar Sep 20 '17 12:09 smozejko

Hi, It's been a while I worked on this. I think the problem may be from WP. Do you know if the admin bar is hidden? are you trying to sign in as an admin? I forget what its called but did you create a policy for admin? Check those out and hopefully one of them is the culprit.

On Wed, Sep 20, 2017 at 8:04 AM, smozejko [email protected] wrote:

Hi, I've installed the ad b2c plugin for wordpress and I can successfully sign in but I can't see the admin bar with my user. When I sign up to wordpress site used as live example I can see it without any problem. What could be the reason for that?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AzureAD/active-directory-b2c-wordpress-plugin-openidconnect/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/ALYHeM0QU98WvfERSgsfjV-Lwb2ufzg8ks5skP9egaJpZM4Pdw4J .

batguyz avatar Sep 20 '17 13:09 batguyz

I would recommend installing the plugin using the code that is in the PR https://github.com/AzureAD/active-directory-b2c-wordpress-plugin-openidconnect/pull/14

The updates waiting to be merged help alleviate this issue by enabling you to automatically mark B2C Global Admins as WordPress admins.

The current version of the plugin does not mark any B2C user as an admin by default and generally does not merge WordPress accounts with B2C accounts unless you populated the appropriate attributes in the WordPress users before installing the plugin.

egbill3eagle avatar Sep 20 '17 22:09 egbill3eagle

Hi, I love this plugin. Please provide latest version of code which is worked for all user including admin users. I am new to Azure. Please guide me "Admin settings" with detailed notes. Graph API Application ID (Not B2C Application ID) Many Thanks!! Yugnadhar

yugandhararao avatar May 31 '18 06:05 yugandhararao