Git Product home page Git Product logo

Comments (4)

SteelWagstaff avatar SteelWagstaff commented on June 22, 2024

It appears that there's a SAML parameter called RelayState (see https://stackoverflow.com/questions/34350160/what-is-exactly-relaystate-parameter-used-in-sso-ex-saml or http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0-cd-02.html#5.1.2.SP-Initiated%20SSO:%20%20Redirect/POST%20Bindings|outline) that we may be able to use to redirect users upon login to desired pages.

from pressbooks-saml-sso.

SteelWagstaff avatar SteelWagstaff commented on June 22, 2024

@connerbw The client who requested this is willing/able to create temporary accounts on their IdP for us to use in testing whenever that would be helpful.

from pressbooks-saml-sso.

dac514 avatar dac514 commented on June 22, 2024

Will work:

Will not work (will fallback to home url, like it did before)

Rules for redirect_to=URL come from:
https://developer.wordpress.org/reference/functions/wp_validate_redirect/

from pressbooks-saml-sso.

SteelWagstaff avatar SteelWagstaff commented on June 22, 2024

Worked as intended. New users were able to redirect to signup.php page and received expected privileges error when attempting to redirect to wp-admin page they don't have access to.
Screenshot from 2019-10-22 15-09-05

from pressbooks-saml-sso.

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.