azure ad signout flow

testuser7 286 Reputation points
2022-06-25T13:26:25.033+00:00

As we know,

When user tries to open any desktop-app on AAD-joined windows box, this desktop-app talks with WAM and with help of the Primary Refresh Token WAM gets the access and id-token and hand it over to the app so that app can let user into the application seamlessly.

This is how user enjoys SSO

Now if user wants to logout from the app, app can clear everything in its repository.
However, what happens at the WAM ?
Does app communicate with the WAM and does WAM communicate with AAD about this logout ?
Is any browser-cookie involved in this flow to clear out ?

Thanks.

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. risolis 8,741 Reputation points
    2022-06-26T20:22:29.017+00:00

    Your welcome @testuser7

    Thank you for your response back.

    This is my humble opinion on this one... Read below : )

    For instance, you need to keep in mind that if you do not have session persistence on your Identity environment, the web cookie will be dropped. In case you have a proxy identity service it will be authenticated to it and if not, then will occur the following:

    The sign-in frequency setting works with 3rd party SAML applications and apps that have implemented OAuth2 or OIDC protocols, as long as they don't drop their own cookies and are redirected back to Azure AD for authentication on regular basis.

    Looking forward to your feedback,

    Regards,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2022-06-27T03:22:06.367+00:00

    Hello @testuser7 , WAM SignOutAsync() can be called programmatically by any application and will clear all cached tokens associated with the account, and tell the provider to invalidate any tokens associated with the account for such app.

    Let us know if this answer was helpful to you or if you need additional assistance. If it was helpful, please remember to accept it and complete the quality survey so that others in the community with similar questions can more easily find a rated solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.