• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SAML - simplesamlphp

#1
Hi,

Does anybody have experience integrating Codeigniter 3.x with a simplesamlphp ?

My issue is the following:
i've set up simplesamlphp as an IDP on my machine in a virtual host - this works fine
I've also set up a different instance of simplesamlphp as an SP in a different virtual host

My problem is with sessions.

After i am successfully authenticated i get re-directed back to my application, but my sessions don't want to behave:

- if i auto-load sessions, then my login page ends up in a continuous loop (redirect to IDP -> succesful auth -> redirect back to application -> sessions are screwed -> redirect back to IDP for auth)

- if i disable auto-load, then the i can use $_SESSION to store the attributes, etc... but the session does not remain the same as the default ci_session is replaced with the idp's session.

What is the best way to resolve this and be able to use sessions?
Reply


Messages In This Thread
SAML - simplesamlphp - by qury - 11-02-2018, 06:31 PM
RE: SAML - simplesamlphp - by qury - 11-05-2018, 11:59 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.