How to Sign out of ASP.NET from End Session Endpoint? #99
Replies: 4 comments 4 replies
-
Since you're mentioning cookies and ASP.NET Core, are you hosting an Uno WebAssembly app with ASP.NET Core? |
Beta Was this translation helpful? Give feedback.
-
Typically a native app (iOS, Android) relies on the access token/refresh token mechanism of OAuth to do its work. It doesn't need or use the session. So it's OK to set the session lifetime to a short duration since it's only used to authenticate the user. |
Beta Was this translation helpful? Give feedback.
-
The "Remember my login" feature sets a separate cookie in the browser, so you should be fine. Regarding the call to |
Beta Was this translation helpful? Give feedback.
-
Correct, but it doesn't delete the cookie as we are discussing, correct? I am trying to understand why Duende is setting cookies it does not delete following the expected workflow. That is, it will log in the user, set cookies, but it will log out (end session) without deleting the cookies it set. Additionally, as it sounds like there are two cookies with the
I would appreciate some further clarity around this. The only web client I am aware of is the one that I am using for Uno. Thank you for your continued assistance. |
Beta Was this translation helpful? Give feedback.
-
IdentityServer version
7.1
.NET version
9.0
Description
We have an Uno application that is authenticating users with Open ID Connect via Duende Identity Server. Everything works great and I wanted to thank you for all your efforts out there. 🙏
The problem we are having is when the user logs out. This calls
/connect/endsession
endpoint but it apparently does not delete the ASP.NET Cookie as described here.Is there a way to do this? Thank you for any assistance you can provide.
Reproduction steps
NA
Expected behavior
No response
Logs
No response
Additional context
Thank you again for creating such a great product! 🙏
Beta Was this translation helpful? Give feedback.
All reactions