We are doing slightly different from existing pattern...
We are using silentSignin for first authentication and then we are consuming id_token in our application because we only need need token for further, we are not explicitly calling signOut. when user try to login again and authenticate I am getting login_required in redirect callback.
I tried to debug, finally i could see that there is one user object in sessionStorage it is not cleared. if I am manually clear then next time login is succeeding.
not that that I tried to clearStaleState() with shorter age but no use at all,
is there any method to clear entry in session storage than manually or by script?
We are doing slightly different from existing pattern...
We are using silentSignin for first authentication and then we are consuming id_token in our application because we only need need token for further, we are not explicitly calling signOut. when user try to login again and authenticate I am getting login_required in redirect callback.
I tried to debug, finally i could see that there is one user object in sessionStorage it is not cleared. if I am manually clear then next time login is succeeding.
not that that I tried to clearStaleState() with shorter age but no use at all,
is there any method to clear entry in session storage than manually or by script?