Giter Site home page Giter Site logo

One Login Form (Server) about sso HOT 4 CLOSED

jasny avatar jasny commented on June 24, 2024
One Login Form (Server)

from sso.

Comments (4)

jasny avatar jasny commented on June 24, 2024 1

Than it would work pretty similar to CAS. The disadvantage is that you can only attach using a redirect and not client side, which is required to work with AJAX.

Note that this SSO implementation was made with the requirement that the use of the SSO server was hidden to end user and with the assumption that each broker can be trusted. However the lib has become more popular and I understand that others have other requirements.

I might add CAS compatibility in the future, since there is obviously a demand for it CAS compatible server in PHP.

from sso.

jasny avatar jasny commented on June 24, 2024

This should work. It's hard to say why it doesn't without debugging it.

Find out what the $sid and session id are by setting a breakpoint on Server.php line 221.

When the login form is show, check the session cookie to make sure the value matches the earlier session id.

When GetUserInfo is called, check if $sid matches the earlier grabbed value by setting a breakpoint on Server.php line 71.

Check the session file to see if the expected session data is in there.

from sso.

syphernl avatar syphernl commented on June 24, 2024

Server-side logins would be a nice feature! That feels a lot safer than having to provide your login details to (potentially) insecure brokers, plus allows you to enforce a unified login style for all brokers.

from sso.

jasny avatar jasny commented on June 24, 2024

Related to #69

from 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.