Git Product home page Git Product logo

Comments (4)

psignoret avatar psignoret commented on July 30, 2024

Can you share what other plugins you have enabled? What does URL pointed to by the "Sign in with you..." link look like?

(Also, note there's a way to bypass automatic redirect, easier than renaming the plugin: https://github.com/psignoret/aad-sso-wordpress#bypassing-automatic-redirect-to-azure-ad-to-prevent-lockouts)

from aad-sso-wordpress.

mrdenny avatar mrdenny commented on July 30, 2024

from aad-sso-wordpress.

psignoret avatar psignoret commented on July 30, 2024

The link should not be pointing to the website, it should be pointing to Azure AD (e.g. https://login.microsoftonline.com/...). What values have you used in the plugin configuration for the redirect URL and the Azure AD authority?

from aad-sso-wordpress.

exetico avatar exetico commented on July 30, 2024

I'm facing the same problem on a fresh wordpress installation (with no plugins installed)

The "Redirect URL" and "Logout redirect URL" was generated like this on the "Azure AD" config-page in Wordpress:
https://mysubdomain.mydomain.com/blog/wp-login.php

But the link at the login-page just points to the: https://mysubdomain.mydomain.com/blog/wp-login.php?response_type=code&scope=openid&domain_hint=&client_id=CLIENTID&resource=https%3A%2F%2Fgraph.microsoft.com&redirect_uri=https://mysubdomain.mydomain.com/blog/wp-login.php&state=STATE_UUID&nonce=NONCE_UUID (or simular, I've replaced a few things..)

Did you manage to fix it, @mrdenny ? Or maybe you have a input here, @psignoret ?

Will this plugin fetch something server-side, too? Currently I'm testing in a closed env., where the server arn't able to talk with anybody. However, the client who visit wp-login.php will be able to access the internet. I took a look at this, but I'm still a bit unsure...

Update:
Oh... It actually is, if I look here, so maybe that's why it's failing?

Are there no other way of handling this, without having the host to be connected to the internet?

from aad-sso-wordpress.

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.