'Setting silentRenew and useRefreshToken in OAuth configuration to true does not refresh a user's session time?

For my Angular Auth OIDC Client figuation:

 auth: {
        stsServer: '...'
        clientId: '...',
        responseType: 'code',
        silentRenew: true,
        maxIdTokenIatOffsetAllowedInSeconds: 600,
        useRefreshToken: true,
        renewTimeBeforeTokenExpiresInSeconds: 60,
        ignoreNonceAfterRefresh: true,
    },

I am setting silentRenew to true, and renewTimeBeforeTokenExpiresInSeconds to 60 seconds.
I expect that my tokens should be renewed before 60 seconds of expiring which the app should always be working unless I close it.

However, when I leave the App on, and be away for couples hours. I will be seeing this error message.

error message

What is this message saying and how can I resolved the issue I am encountering?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source