oidc-client-js icon indicating copy to clipboard operation
oidc-client-js copied to clipboard

Automatic Silent Renew: After 3rd SilentRenew, access token isn't active

Open liamjay opened this issue 8 years ago • 7 comments

Hi Guys

I'm using the latest version of your library (1.4.1), got automatic silent renew enabled. After the third silent renew the access token I'm getting back isn't active. Can you tell me or point me in a direction to find out what is happening.

Thanks

liamjay avatar Jan 26 '18 14:01 liamjay

Check the logs in your token server.

brockallen avatar Jan 26 '18 15:01 brockallen

Checked the logs and nothing states that something went wrong.

liamjay avatar Jan 26 '18 15:01 liamjay

And then what's the error in the client? or any hint in the client log?

brockallen avatar Jan 26 '18 16:01 brockallen

I've enabled logging and nothing comes back with an error. However, if I switch off the automatic silent renew and do it manually it all works fine.

liamjay avatar Feb 04 '18 21:02 liamjay

Not sure then -- you'd need to debug it some more.

brockallen avatar Feb 05 '18 14:02 brockallen

KK no worries. I'll close this issue and do some debugging.

Thanks for the assist

liamjay avatar Feb 05 '18 21:02 liamjay

I had a client of implicit flow and access token life time set to 2 min and I am getting new access token after 2 min. the issue is after 1 hr I am not able to get new access token and error in log as Showing error: prompt=none was requested but user is not authenticated . What I observed was the after some time id token which we send for renewing token was not getting renewed? was this because of this and where

muralisambu avatar Feb 12 '19 10:02 muralisambu