Springboot Azure logout not redirecting to the given url in firefox and edge browsers.In chrome it is working

Raju Oukanti 0 Reputation points
2023-05-11T07:16:35.5833333+00:00

I am using Azure login for my springboot application.I implemented the following code for logout functionality

https://login.microsoftonline.com/<tenantId>/oauth2/v2.0/logout?client_id=<clientId>&post_logout_redirect_uri=https://localhost:8443/

In chrome browser the post_logout_redirect_uri is working fine and i am redirecting to the given url

But in Firefox and Edge browsers it is not working .It is showing the screen after logout as follows as

You've signed out of your account

It's a good idea to close all browser windows.

Please help me

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

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