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.