Hey there @AbdYashar07 !
Apologies for the late replay on that.
Logout URLs can be set on 2 different layers in the Auth0 dashboard (tenant level and a single app level).
When calling logout with auth0-react-js you can specify two properties as described here. Does your logout request includes both the clientID and the returnTo parameter, like below?
https://{yourDomain}/v2/logout?returnTo=http%3A%2F%2Fwww.example.com&client_id={clientId}
Please note:
If the
client_id
parameter is included, thereturnTo
URL that is provided must be listed in the Application’s “Allowed Logout URLs” in the Auth0 dashboard. However, if theclient_id
parameter is not included, thereturnTo
URL must be listed in the “Allowed Logout URLs” at the account level in the Auth0 dashboard.
More info on registering logout URLs in Auth0:
Thanks!