Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing cookie when redirecting back from callback request #1404

Open
Rahul21199 opened this issue Sep 16, 2024 · 1 comment
Open

missing cookie when redirecting back from callback request #1404

Rahul21199 opened this issue Sep 16, 2024 · 1 comment

Comments

@Rahul21199
Copy link

Rahul21199 commented Sep 16, 2024

Duende IdentityServer- 7.0.6

.NET- 8

Issue- We're encountering an issue with the duende identity server in the following scenario: When we're redirected to the SSO login page via our application and wait for around 2 minutes before attempting to log in, we encounter an error.

Upon further investigation, it appears that the cause of this issue is the absence of the one cookie in the call back request.
It seems that if we remain on the SSO login page for more than 2 minutes, this cookie is somehow deleted.

We have not removed the cookie manually also it's expiry is 15 min. Can any help to understand what is causing removal of this cookie from the request?

Adding some additional details.
I tried by adding some other custom cookies for testing and they are also getting removed after 2 min and seems all this happing when calling duende callback method.

@Rahul21199 Rahul21199 changed the title missing "OpenIdConnect.cv.<somevalue>" cookie in callback request missing cookie when redirecting back from callback request Sep 16, 2024
@Rahul21199
Copy link
Author

The issue is fixed by adding SameSite = SameSiteMode.None in the cookie request.

@RolandGuijt RolandGuijt self-assigned this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants