Redirect to external domain on logout

Hey all,

I’m currently writing an application where we’d like to redirect users to an external site on logout, for example they login and use “httpsL//thisdomain.com” but once they logout we’d like to send them to “_https://someotherdomain.com”. I have “_https://someotherdomain.com” in my Allowed Logout URLs but on pressing logout am given the following error (during development, we’re not deployed yet):

invalid_request : The “returnTo” querystring parameter “http://localhost:3000” is not defined as a valid URL in “Allowed Logout URLs”. To add a new URL, please do it here: https://manage.auth0.com/#/applications/<id>/settings

Just to reply to this to say I did find a fix for this, though I’ve slept since I made this post (waiting for it to be approved), I think the solution was just to add the other domain to tenant settings which I didn’t realise were in a separate section of the dashboard

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

HI @cameron3,

Sorry about the delayed response. Thank you for sharing your solution with our community! :+1: