Angular Quickstart - After refresh call to "authorize" on my auth0 tenant throws 400


I’ve tried to follow the angular quickstart. I’ve done it till the point where I have the LogIn/LogOut Buttons. It works if I don’t refresh the page. I can login and logout.

But when I’m logged in and refresh the page, the sdk tries to call https://*[…]&redirect_uri=http%3A%2F%2Flocalhost%3A3000&scope=openid%20profile%20email&response_type=code&response_mode=web_message&state=[…]&nonce=[…]&code_challenge=[…]&code_challenge_method=S256&prompt=none&auth0Client=[…]

which returns a 400 - Bad Request. Therefore the login is lost after refreshing the page.

Tried with Angular 9.1.6 and auth0-spa-js 1.8.1.

I’m using the new Universal approach.

Edit: I’ve tried the classic universal login too, same problem.

I managed to fix myself.

The Url was configured with a trailing slash. The redirect-url wasn’t. That’s all - it works now.