OAuth logout is not redirecting to OAuth login screen

Application Name: Reference Application Version Number:2.11.0

I am using Google OAuth2 to login my OpenMRS project. When I am clicking on Logout button It redirect to Google sign in page. After sign in again I am not getting Google OAuth login screen again. It take me to Google Account setting.

  1. Attempting to access an OpenMRS URL
  2. ⇒ Redirection to Google’s login.
  3. Logging into Google ⇒ redirection to OpenMRS as an authenticated user.
  4. Using OpenMRS… etc.
  5. Logging out from OpenMRS

At this point It takes me to google sign in page after signing It is not directing to the OpenMRS OAuth login page.

Since logoutUri=https://www.google.com/accounts/Logout Is any Global Property there to redirect after logout.

Thanking you in advance for helping me out.

@sushant095 if this can be done it would a Google feature, it has nothing to do with OpenMRS.

Have a look at this: https://stackoverflow.com/a/14831349/321797

Looks like there’s ways to play with a continueUrl parameter…