Please include the following information in your post:
SDK:@auth0/auth0-react"
Version: ^1.6.0
Platform: Chrome: 103.0.5060.114
Problem Description:
I have two call back urls “root.app” and “*.root.app”. Users initially are directed to root.app where they then login. After login they are then redirected to “{workspaceid}.root.app” (workspaces available to a user is data inside of app_meta which I pull and redirect to their workspace). Users can have multiple workspaces and can switch between workspaces (users are not having to reinitiate login either during this switch).
This works except the logout. Using the sdk logout from useAuth0 will only log the user out of the current subdomain they are on but will not cause a logout in “root.app” or in other subdomains. How do I implement this where clicking logout will log user out of all active sessions for any subdomain “{workspaceid}.root.app” and “root.app”