This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 598
Azure AD session expires after one hour #1177
Comments
Yes, you should use that option. Did you try it? |
yes i tried it. Please find the following cases,
This is the code i have used,
|
Oh, you're using the old Microsoft.Owin stack. That shouldn't change the expected behavior. When you're active you benifit from CookieAuth's default SlidingExpiration option ( Security/src/Microsoft.AspNetCore.Authentication.Cookies/CookieAuthenticationOptions.cs Lines 92 to 96 in 2d7cd60
What does your Set-Cookie header look like? As a side note, I do not recommend UseKentorOwinCookieSaver. See https://github.com/aspnet/AspNetKatana/wiki/System.Web-response-cookie-integration-issues#workarounds and aspnet/AspNetKatana@49b78c0 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have used Azure AD login using openid connect authentication in my website. The session expires every one hour, and the user is logged out. I saw a solution in the below link to use
#147
Will this fix my issue? or is there any other way to increase expiration time of the session?
The text was updated successfully, but these errors were encountered: