How can I have to generate SSO token after crowd login (via rest service) for case when I can use this token for login to crowd? I mean I use
crowdClient.authenticateUser(...)
and after that
crowdClient.authenticateSSOUser
with same credentials (and I tried in reverse order)
I store this token in crowd.token_key session variable, but Crowd doesn't authenticate me by this token.
But if I logged in crowd first my app recognize this token.
I think it should be depends from ValidationFactor, but I don't know which I should to use.