angular-auth-oidc-client
angular-auth-oidc-client copied to clipboard
max_id_token_iat_offset_allowed_in_seconds not working correctly
Describe the bug max_id_token_iat_offset_allowed_in_seconds is not working the way it supposed to work, the token is not invalidated.
To Reproduce Steps to reproduce the behavior:
- Set the max_id_token_iat_offset_allowed_in_seconds to 600 seconds.
- Change the clock on the pc to 10 minutes behind global clock. or 3.Set the clock on the pc to 10 minutes infront of the global clock.
Expected behavior Expected to get an event that the difference is more than the offset allowed.
Behaviour When time is behind the global clock token always remains active. When time is after the global clock the token is invalidated only if time difference is below one minute.
@FabianGosebrink Maybe we could add a test to validate this
Any update on this?
Since we released new versions since the bug came up: Is this bug still relevant?
Closing as there hasn't been any response from the issue author. Please re-open if you are still seeing problems here.