I have a Angular app setup with oidc-client-js + IdentityServer4 , Everything is fine in desktop environment and silent refresh works as it should ...
But when using mobile device browsers , If I don't use the app for a while when I come back I have to login again (enter user/pass)
Is there anything happening differently when oidc detects a mobile device? This is happening on ios and android and they are not using private browsing or incognito mode !?!
this is my config :
this._userStore = new WebStorageStateStore({ store: window.localStorage, prefix: '_oidc_' });
return { userStore : this._userStore, authority : environment.authUrl, client_id : "angular", redirect_uri : baseHref + '/authenticate', post_logout_redirect_uri : baseHref, response_type : "code", scope : "openid profile offline_access", filterProtocolClaims : true, loadUserInfo : true, automaticSilentRenew : true, silent_redirect_uri : baseHref + '/silent-refresh.html', };
https://stackoverflow.com/questions/67411697/oidc-client-js-after-browser-is-closed-for-a-while-i-have-to-relogin-again-in-mo May 06, 2021 at 12:05PM
没有评论:
发表评论