We have been using Oidc-Client js for SPA application.Below are the clarifications.
- We were able to implement signinRedirect but not sure how to implement and handle signinRedirectCallback method to get user and token responses. Hence kindly provide the sample to use the same.
- Regarding silent renew token, once it's generated silently then when it expires.
I have some resources on this and a sample that helps with testing of expiry events:
Renewal Code from Code Sample
When the session expires, eg if the user leaves the browser running overnight, you check for a login_required error code
Blog Posts: