36
Views
3
Comments
[Auth0 Web Connector] Logout
Question
auth0-web-connector
Web icon
Forge asset by Craig St Jean

How do  i use this connector to do the logout from auth0 completely and then redirect me back to my SSO login ?
Thanks in advance

2018-10-29 08-31-03
João Marques
 
MVP

Hi Kushagra,


When you redirect to the user to the logout on Azure, you need to pass a parameter called post_logout_redirect_uri. For example, this is how I build the logout URL:


So in your example, your post_logout_redirect_uri would be your login URL.


Cheers,

João

UserImage.jpg
Kushagra Johri

Hi Joao


But my SSO is not azure actually . We are using gmail actually as our SSO , have made a custom page on top of it.

Will the same solution still work ?

Regards


João Marques wrote:

Hi Kushagra,


When you redirect to the user to the logout on Azure, you need to pass a parameter called post_logout_redirect_uri. For example, this is how I build the logout URL:


So in your example, your post_logout_redirect_uri would be your login URL.


Cheers,

João

 

 

2018-10-29 08-31-03
João Marques
 
MVP

Hi Kushagra,


I only used Azure so I assumed you were too, my mistake.

For logging out with google I think the parameter is continue, so the logout URL would be something like this: 


https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout?continue=http://localhost:4200 


Hope it helps.

Cheers,

João

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.