oktaAuth.session.exists() returns false for freshly registered users

I’m using idx to perform self service registration and it works as expected but when I try to access oktaAuth.session.exists() it returns false, but if I sign out and then sign in with the same user again then the session works fine. not sure where I’m going wrong with this any and all help is appreciated!!

Hello @devaryakjha,

Okta is investigating this issue.

Could you try to use idx.authenticate in the meantime to establish an okta session after successful registration ?

2 Likes

@gpadma Thanx for reply, even though hacky… but suggested solution does seem to work for now.

hello, is there an update to this issue? as of 2024/2/2 idx.register() still does not seem to create idx cookie after status return successful.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.