We are facing the following issue with Auth0.js
Regardless of what we specify as
returnTo URL, after doing logout, we are always redirected to the FIRST specified allowed logout URLs in the client settings page.
This prevent us from using both dev and prod environments at the same time.
If we debug the webauth object in JS console, it has the correct value.
Login callback URL’s also work properly. The system works if we change the order in the client settings page, depending on what environment we want to work with, but as stated, we need to use both simultaneously.
Attached screenshot of settings and console log.