AzureAD / microsoft-authentication-library-for-java

Microsoft Authentication Library (MSAL) for Java http://aka.ms/aadv2
MIT License
280 stars 137 forks source link

[Feature Request] single logut function with logout_hint #813

Closed moldeviaa closed 1 month ago

moldeviaa commented 2 months ago

MSAL client type

Public, Confidential, Managed identity

Problem Statement

request to have a public class to sign out user. like a PublicClientApplication.SignOut() method to perform the following tasks:

It might make sense to have two overloads:

Proposed solution

No response

Alternatives

No response

rayluo commented 2 months ago

MSAL already has a removeAccount() method that can already sign out a given account locally by removing its tokens.

The "send an OIDC-logout request" part shall better be handled inside a web app because it would likely need interaction inside browser.

Avery-Dunn commented 1 month ago

Closing due to inactivity. If you still are having issues or have any related questions, feel free to re-open or start a new thread.