bcgov / sso-realm-registry

Apache License 2.0
2 stars 1 forks source link

feat: logout idle #161

Closed jlangy closed 7 months ago

jlangy commented 7 months ago

logout idle users. Just made two small changes to checkSession, the date was in milliseconds so always bigger than the expiry time in the token, which was making a callout to getSession every second instead of only when token was expired. Called the update method on session otherwise it was staying stale in the component context