Using Auth0 and Joomla!

Installed Auth0 component in my Joomla 3.9.16 site. No problem
Set the required CORS settings on my site. Works fine, no errors.
Changed the default auth0.js on my site to the latest version (//cdn.auth0.com/js/lock/11.23.0/lock.min.js)
Auth0 login form appears, can fill in user credentials. Auth0 logging states [Success Cross Origin Authentication]. But form on website does not disappear / landing page is not shown. Is gets in some kind of a loop where i keep seeing the Auth0 login form
Auth0 component test function also does not work. " Auth0 app data: Invalid credentials"

I believe i’m pretty close to solving this but need some guidance, what to change/adjust next.