Issue: Auth0 logout is not showing the Google accounts selection
After going through this community posts and replies, I was not able to fix the above issue. With https://${auth0Domain}/v2/logout?federated
logout url too it did not solve my issue.
But after going through auth0 docs and closely trying out many things; I was able to fix the issue, and it was pretty simple.
The auth0 docs mentioned that; for Google it is supporting Apps and OAuth2.0 .
Resolution:
Since our organization has an app already, I used the app ClientId
and Client Secret
and provided the callback url in the Google project settings https://<auth0 domain here>.us.auth0.com/login/callback
After doing the above, it started working as required (shows accouunt selection each time user logs out with federated
)
Hope this post is useful for anyone faced/going to face the same issue.
The steps for creating Google app in developer console are also mentioned in auth0 docs