top of page
Search

Log users out of Auth0 from Power Pages that are integrated with Auth0

  • Writer: Sunil Thomas
    Sunil Thomas
  • Oct 2, 2024
  • 1 min read


Recently, I needed to integrate Auth0 with Power Pages. The integration itself was relatively simple, but the next requirement posed a challenge.

The goal was to ensure that when users sign out of Power Pages and then attempt to log back in, they would be prompted to enter their login credentials. Normally, with SSO, logging out of Power Pages doesn't end the SSO session, as cookies still contain the user’s session information. This means users are automatically logged back in.

To address this, the solution involves redirecting to the Auth0 application, which will clear the session and log the user out.

Please see the screenshot below.


Here,


Another setting that needs adjustment is in the Auth0 application. We must add our redirect URL to the allowed Logout URLs. Please see the screenshot below.




 
 
 

1 Comment


Yogesh Chaphalkar
Yogesh Chaphalkar
Dec 03, 2025

hi Sandeep,


Great article, we are having same issue with Sign out.


It would be great help if you could indicate where do we need to add/configure the logout URL https://GDRTEST.au.auth0.com/v2/logout?returnTo=https://GDRPortal.powerappsportals.com&client_id=clnoTtKtywUODM8hbSTN7fSxQmoiKklM

Like
bottom of page