Coder Social home page Coder Social logo

Comments (9)

gsacavdm avatar gsacavdm commented on June 21, 2024 1

Hey guys, we've made some changes to improve this sample adding better messaging around the settings, better error handling and addressing some of the other issues called out here. It would be great if you guys can try it out and give us more feedback. I'll close this issue and we'll keep an eye out for new ones.

from active-directory-b2c-wordpress-plugin-openidconnect.

TheSaltyKorean avatar TheSaltyKorean commented on June 21, 2024

Not sure if your issue is the same one that I had, but in my fork I fixed two issues. One of them had to do with a bad WP call, and the other with the fact I needed it under a \blog\ folder. You might go through my fork, remove the \blog modifications, then see if it works.

from active-directory-b2c-wordpress-plugin-openidconnect.

batguyz avatar batguyz commented on June 21, 2024

Thanks Vonlar. I have eliminated the folder problem so at the moment the 404 is gone and the parameters work however I have a new issue. The new issue is that when I try to login from my site it shows the Microsoft login url briefly before redirecting back to the site without prompting me to login at all. In other words its omitting the Microsoft login page and not prompting me to login or sign up.

I tested the parameters on Azure B2C and it runs fine.
I suspect something with the policy name but I'm not sure. Other than the bugs you fixed did you experience something like this? or is there some setting missing in Azure B2C? Thanks

from active-directory-b2c-wordpress-plugin-openidconnect.

TheSaltyKorean avatar TheSaltyKorean commented on June 21, 2024

Honestly, it's been too long for me to know what exactly I had to fix. You can take a look at the check-in and see the diff.

There are several parameters for the policy that has to be set. You can go to your database and try and change those. I have a feeling this may be what you're having a problem with now.

from active-directory-b2c-wordpress-plugin-openidconnect.

batguyz avatar batguyz commented on June 21, 2024

Thanks. At this point I'm not sure if its the plugin or if the policy parameters or other settings are not quite right since it does not let me authenticate when I try to login on the website.
Did you mean change the policy parameters in the Azure B2C database or the wordpress database?

If anything else comes to mind please share, it will be of great help!

from active-directory-b2c-wordpress-plugin-openidconnect.

TheSaltyKorean avatar TheSaltyKorean commented on June 21, 2024

Wordpress, you have to get the policy details exactly right else it fails

from active-directory-b2c-wordpress-plugin-openidconnect.

batguyz avatar batguyz commented on June 21, 2024

I'll try that and let you know. Thanks

from active-directory-b2c-wordpress-plugin-openidconnect.

batguyz avatar batguyz commented on June 21, 2024

I was able to fix the problem by including url/b2c-token-verification in the reply URL. I also had the Verify ID Tokens unchecked in the plugin. Thanks for the help.
A quick question though, I know it's been a while you worked on the project but at the time did you manage to create custom fields in B2C say EmployeeID and write to WP?

Thanks!

from active-directory-b2c-wordpress-plugin-openidconnect.

TheSaltyKorean avatar TheSaltyKorean commented on June 21, 2024

@batguyz Good to hear. I have not tried to map the custom fields.

from active-directory-b2c-wordpress-plugin-openidconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.