Custom domains failing with iss issue

We are trying to implement custom Auth0 custom domains and running into an issue where users can’t access a protected route after authenticating through the custom domain. Our logic basically follows example 4 in this document.

Looking at our backend token verification logs, we’re getting this error:

InvalidTokenError: Unexpected 'iss' value

Is there something we need to do to ensure the iss claim is correct using custom domains?

Hello @david25 welcome to the community!

What is the iss value currently?

I might recommend taking a look at the following post, and in particular the article on configuring features for custom domains:

Let us know where you land!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.