Auth0 Home Blog Docs

{error: "invalid_token", errorDescription: "Issuer https://****.eu.auth0.com/ is not valid."}


#1

After login to SSO, got following:

http://localhost:8080/#/access_token=HFrwuWhuC8UNH6JJcfEkOiiCVhGmc4rT&expires_in=7200&token_type=Bearer&state=sso&id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5VWXdORGxCUWpkRE1FTTNNakV4TlVNNE5VRkRPRU5GTkRFeU1rVXlOemRET1RJNU9VVkRSUSJ9.eyJpc3MiOiJodHRwczovL3RhbGVueWEuZXUuYXV0aDAuY29tLyIsInN1YiI6ImxpbmtlZGlufFJYMjdlUERpbEEiLCJhdWQiOiJRTTE5Sk5Ya05rcVc3WlVQS2swUW5WR21LQUN2WjBxNSIsImlhdCI6MTU0MjY0NDgzNSwiZXhwIjoxNTQyNjgwODM1LCJhdF9oYXNoIjoibDE5YzNnd0VZejJqZndEM1RrWGRoZyIsIm5vbmNlIjoidlBsMEo4VkJ6cWZPdEhrM0RJNjJIODlvZXM0Q3FreTMifQ.BrtfiKXdSZJPST47xjRC9EEvhmbjPzozv1vgLVq3k8BmHfNb7ieEZ3JdrlnmV2SuVLiXaH8KX1LfPNsIxNo4eyMCkE0T1K89ZAzCSR3c60qPPR6C3ns6y9SbbFvmlxsm7x1b66eA76KIuKgiQYqmVRfN4S9LxDC2lC8xyhQf92v08ELiBWx5D3tldS662nQtbAX87GA4M6X8ILjBO-o3sbPKIwXBGXmTGeUO_FTw3_QexhV5c5kO8ivhFPwxN1J-XCLWDLRqZt-g7aQRgfHs9TTJmE9YCJbD1sL_PhTEZyYkfNoKt89VoQDRFl0CCtYFzpo5INtWzIm7_iX6QUCYsg

But when run angularAuth0.parseHash() got following error
{error: "invalid_token", errorDescription: "Issuer https://****.eu.auth0.com/ is not valid."}

Preconditions: SSO, OIDC, RS256


#2

Also used Custom Domains in SSO like this: https://auth.mydomain.com (which is confirmed in auth0),
But in error, got domain that initially setup in Auth0.
Do you have any clues why it happen?

Thanks!