• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
single signon codeigniter with csrf

Hi all codeigniter gurus i have some questions about the logic and ideas of how to use a single sign on on codeigniter with csrf?

for example i have a site which is called test.com when i login on this all its subdomain will login as well


anybody have ideas on how do i implement this on codeigniter? i have tried using an ajax to submit as well but its not working it keeps at 500 i have disable its csrf to false its not working as well any thoughts?

Could you send us some code and what you've done so far, regarding your question? We'd really appreciate it if you can narrow things down further.

Have you read CodeIgniter's documentation on the Security class? CSRF is covered there already.


You would need to pass an encrypted message through a cookie saved on the users system,
then do a auto-login on each sub-domain.

Similar to a remember me cookie.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

If you want to use SSO within the same domain name (so across different sub-domains of the same domain) then you can easily share the same session between all of them.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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