Need information on Authentication cookie #133
Replies: 3 comments 1 reply
-
i am referring "idsrv.session" cookie |
Beta Was this translation helpful? Give feedback.
-
idsrv.session is not the authentication cookie. The code you're referring to (in the original post) is not configuring the "idsrv.session" cookie but the default authentication cookie scheme. |
Beta Was this translation helpful? Give feedback.
-
Could you please let me know the expiry time for a user session once it is created? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
IdentityServer version
Duende IdentityServer- 7.0.6
.NET version
.net 8
Description
I need some information to understand the expiry of an authentication cookie. From the application tab, I can see it is set to "session," which means the session will close once the browser is closed. However, the code provided below sets the expiry to 10 hours.
https://github.com/DuendeSoftware/products/blob/main/identity-server/src/IdentityServer/Configuration/DependencyInjection/ConfigureInternalCookieOptions.cs#L31
Am I missing something? Any idea how the expiry is handled for the authentication cookie?
Reproduction steps
No response
Expected behavior
No response
Logs
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions