-
Notifications
You must be signed in to change notification settings - Fork 4k
Can I set idsrv.session
cookie to SameSite=Strict
?
#5297
Comments
ApplicationCookie
to SameSite=Strict
?idsrv.session
cookie to SameSite=Strict
?
Check this PR#4711 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Is there any solution if you are still on asp.net core 2.x? The latest package points to asp.net core 3.x, so the property for setting this doesn't exist. |
Never mind. I realized I could extend the DefaultUserSession and override the CreateSessionIdCookieOptions method to setup my own value for samesite. Then just needed to set DI for the IUserSession to my new implementation. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.
The text was updated successfully, but these errors were encountered: