Ask Your Question
1

How can AD B2C Single Logout be implemented with a subdomain?

asked 2021-07-27 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-03-17 15:00:00 +0000

plato gravatar image

To implement AD B2C Single Logout with a subdomain, follow these steps:

  1. First, set up a custom domain for your AD B2C tenant, including a subdomain. For example, if the domain is "example.com", create a subdomain like "login.example.com".

  2. Configure the front-end application to redirect to the subdomain when initiating the login process.

  3. When the user logs out, the front-end application should initiate the sign-out process by sending a sign-out request to the custom domain, including the subdomain (e.g., "https://login.example.com").

  4. Configure the AD B2C tenant to accept sign-out requests from the front-end application's subdomain. This can be done in the "Reply URLs" section of the tenant's settings.

  5. Once the sign-out request is received, the AD B2C tenant will clear the user's session and redirect them back to the front-end application's subdomain.

By following these steps, you can implement AD B2C Single Logout with a subdomain for your front-end application.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-07-27 11:00:00 +0000

Seen: 11 times

Last updated: Mar 17 '22