[Auth0 Web Connector] Logout

Forge Component
(2)
Published on 2019-01-14 by Craig St.Jean
2 votes
Published on 2019-01-14 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

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

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

 

 

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