Configuring ClockSkew and other JWT validation options #436
Unanswered
hosaynlatifi
asked this question in
Q&A
Replies: 1 comment
-
As it turnes out, Identityserver ignores these configurations and looks at the Clients table. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello dear friends
I have a scenario in which I need to set the clock skew for JWT bearer tokens. but whatever I do, the code ignores my settings.
I have tried configuring it in multiple different sections of the Dependency Injection file in the Infrastructure Layer, but it ignores all of them.
I have this at the moment:
The code ignores my configurations and sets the clock skew to its default 5 minutes.
In the last line of the above code, I have a PostConfigurationOption, and I have set the clock skew there as well, it runs the code, but when the WebUI layer calls for the authentication, the clock skew will default to 5 minutes.
What am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions