I'm using "oidc-client": "1.10.1" for oidc authentication, below is my configuration for the userManager
const settings = {
authority: (window as any).__env.auth.authority, //OAuth 2.0 authorization endpoint of the OpenID Provider
client_id: (window as any).__env.auth.clientID, //
redirect_uri: (window as any).__env.auth.redirectUri, //callback URI for the authentication response
response_type: 'id_token token',
scope: 'openid profile api',
automaticSilentRenew: true,
silent_redirect_uri: (window as any).__env.auth.silentRedirectUri,
userStore: new WebStorageStateStore({ store: window.localStorage }),
loadUserInfo: true,
post_logout_redirect_uri: (window as any).__env.auth.postLogoutRedirectUri,
silentRequestTimeout: 30000,
};
The silent renew token calls are not even made, i.e. the user gets logout after token expiration. Am I missing something?
P.S. I want to have the automatic renew of token working, because i tried the token renewal manually and it did work but doesn't seem like a reliable approach.