Auth0 with angular-oauth2-oidc. Problem with refreshing token

Posting it on behalf of @philly.

Hi. I am using Auth0 with angular-oauth2-oidc. Unfortunately I am not able to refresh the token. The app is sending a request like:

https://philly-vanilly.auth0.com/authorize?response_type=id_token%20token&client_id=XXX&state=YYY&redirect_uri=https%3A%2F%2Fphilly-vanilly.github.io%2Finit-auth%2Fsilent-refresh.html&scope=openid%20profile%20email&nonce=ZZZ&prompt=none&audience=https%3A%2F%2Fphilly-vanilly.auth0.com%2Fapi%2Fv2%2F

and receiving the following error response:

https://philly-vanilly.github.io/init-auth/silent-refresh.html#error=login_required&error_description=Login%20required&state=YYY

Can you please help me with the configuration? Here is the relevant code:

And here is the deplyoed app: https://philly-vanilly.github.io/init-auth/index.html