Forum Discussion
Hi Chris,
SSO Tokens are intended to be used for authentication only once.I would suggest creating separate SSO token: one to be used in the browser, and one to be used for the REST API.
Regards,
Adam
- sdenisov13 years agoAdept
Thanks Adam, that was exactly it
- sylvain_mouquet13 years agoGuide
Hi,
I have the same problem but i dont understand what i must to do for solving it.
For well understanding, we need to create 2 cookies (or we can call to getLithiumCookieValue() only for the REST API)
The clientId must be different between the 2 cookies ?
If we create 2 cookies, how the forum is able to select the right cookie ? (if it select the cookie created for REST API, the token is already consumed)
Further, there is a relation between the cookie and the ip of the server which create the cookie ? when i create a sso cookie from a configurated server the forum authenticate correctly the user. When i create the cookie from my local pc (127.0.0.1), the cookie is created but the forum does not authenticate the user.On the stage environnement, there is an option for getting more logs in the http response for getting help for debugging ?
Thanks in advance
Sylvain
- sylvain_mouquet13 years agoGuidei have not found the solution yet... anyone can help me ?