Error when adding a custom domain

Error: Issuer (iss) claim mismatch in the ID token; expected “https://auth.xxxxxxxx.io/”, found “https://dev-xxxxxxx.us.auth0.com/

I added a custom domain, and now I am getting this. I am using the custom domain in my Spa SDK so the redirect works correctly.

Thank you in advance