Share via

LOGOUT user from Entra ID

Anonymous
2024-10-01T10:45:42+00:00

we have a web application that does SSO single page sign in via MS Entra ID

how do i logout user?

the problem is, you cannot sign in with different user without opening in incognito or going to microsoft and logging out there ...

Microsoft 365 and Office | OneNote | For business | MacOS

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-01T15:19:43+00:00

    Hello Janez**,**

    Good day! Thank you for reaching out to Microsoft community.

    As per the user account which you used to open/ create this thread, it indicates that your email hosting provider is not Microsoft 365 exchange online but the DNS record from your domain shows that the MX is pointed to Amazon.

    However, that does not mean you cannot use the Entra ID (formally known as Azure active directory).

    Of course, with additional license you, including your organization can use Microsoft Entra ID.

    To better understand your problem, I need you to give me some additional information so that we can get on the same page and resolve the issue by working together.

    Please correct me if I am wrong and I need your help on sending all the answers along with the data only via Private Messages - Microsoft Community.

    • May I know your affected account type and subscription?
    • the affected user ID.
    • Are you a global administrator user or an End user?
    • Do you have access to Microsoft 365 Admin Center?
    • Please share more details and data in the private message platform.

    Note: to access private message platform, please click on this link: Private Messages - Microsoft Community.

    Meanwhile you may check these initial steps:

    To log out a user from Entra ID in a web application with SSO single-page sign-in, you need to ensure that the user's session is properly terminated both in your application and with the Entra ID:

    If you want to learn more about sign-out, read the protocol documentation that's available from OpenID Connect.

    I hope this helps. Please follow these steps and let me know the outcome. If the issue persists after completing the above, feel free to reach out, and we can further investigate the problem together.

    Thanks for choosing the MS community.

    Looking forward to your response and have a great day ahead!!

    Sincerely

    S M Nazmun Nur | Microsoft Community Moderator

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-10-02T16:14:54+00:00

    Hello Janez**,**

    Thank you for the clarification and for confirming that you're working with OAuth2 and OpenID sign-out for your multi-tenant app.

    I'm glad to hear that OpenID sign-out seems to fit your needs. ^_^

    Just to help ensure you're on the right track, here are a few things to keep in mind when implementing OpenID sign-out with OAuth2:

    • Ensure that you’re directing users to the OpenID Connect logout endpoint to properly end their session across tenants.
    • You can also implement front-channel logout to notify other applications when a user logs out from one application.

    For more detailed instructions, feel free to refer to the official documentation here: OpenID Connect (OIDC) on the Microsoft identity platform - Microsoft identity platform | Microsoft Learn.

    I hope this helps. Let me know if you have any further questions or concerns.

    If you think that I have provided the necessary information related to this post and it's Helpful, you can also vote for this thread. In order to make this thread a top content and help any other community users who might be facing a similar scenario to easily find this thread/post.

    Thanks for choosing the MS community.

    Looking forward to your response and have a great day ahead!!

    Sincerely

    S M Nazmun Nur | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-10-02T07:31:10+00:00

    Hey, thanks for answering.

    It's not about one affected user or domain, it's a multi tenant app and we don't know how to implement logout. It's not about subscription either.

    We don't use SAML, we use oauth2 to obtain the access token.

    I opted for OpenID sign out, seems to be what we need.

    thanks!

    Was this answer helpful?

    0 comments No comments