To implement AD B2C Single Logout with a subdomain, follow these steps:
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".
Configure the front-end application to redirect to the subdomain when initiating the login process.
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").
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.
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.
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
Asked: 2021-07-27 11:00:00 +0000
Seen: 11 times
Last updated: Mar 17 '22