I get the following error when trying to logout of my Maui mobile application.
invalid_request : The “returnTo” querystring parameter “myscheme://authcallback/?state=eyJblahblahblah” 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/blahblahblah/settings
I have triple checked that “myscheme://authcallback” is defined as an Allowed Callback URL in my app’s settings page.
Login works properly with this same url. I am using the new official Nuget package (Auth0.OidcClient.Maui
).
My logout url looks like this.
https://mydomain.com/v2/logout?auth0Client=eyJblahblahblah&client_id=blahblahblah&returnTo=myscheme%3a%2f%2fauthcallback%2f%3fstate%3deyJblahblahblah