Skip to content

How to logout? #663

Closed Answered by rayluo
bokzzzz asked this question in Q&A
Feb 7, 2024 · 1 comments · 12 replies
Discussion options

You must be logged in to vote

So, conclusion is MSAL doesn't have functionality to invalidate token on Azure side?

I figure, this can be a feature request that MSAL builds that logout url for you, by:

  • either extending the current remove_account() API to return that url (but then the onus is on the calling app - such as az logout - to launch a browser with that url), or
  • add a new lougout_interactive() api which launches the browser (when not using broker). This behavior matches the acquire_token_interactive().

Shall we take this feature request, @bgavrilMS ?

On the other hand, @bokzzzz , if all you want is to alter step 4 that you described,

It's client app (CLI app). Scenario is like this:

  1. Through msal, trigger…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@bokzzzz
Comment options

@bgavrilMS
Comment options

@bokzzzz
Comment options

@rayluo
Comment options

Answer selected by bokzzzz
@bgavrilMS
Comment options

@bgavrilMS
Comment options

@bokzzzz
Comment options

@bokzzzz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants