jasny / sso

Simple Single Sign-On for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mismatched session id

pyrochlore opened this issue · comments

Hi,
I tried to using the code in my test sites but got errors 'Expected application/json response, got text/html'.
From the code, I found it is caused by the mismatch of current session id (on server) to the cached $linkedId. (Server.php line 84)
Also, I found the session id got in examples/server/index.php is different for requesting from command 'attach' or from command 'login'.
Do you have any idea why this happened?
Thanks.

Closing all v0.3 related issues. Please update to v0.4.