Invalid ID token: Issuer (iss) claim mismatch in the ID token on Wordpress

Hi there,

for some reason our Wordpress auth0 integration broke. I get the following error in the logs:

section:WP_Auth0_LoginManager::init_auth0 L:152

Invalid ID token: Issuer (iss) claim mismatch in the ID token expected “custom domain”, found “domain specified as in auth0 app settings.”

any thoughts how to solve this issue? thank you!

Hi @admin37

Have you recently set up a custom domain?

This sounds like a mismatch between an expected custom domain and the default {tenant_name}.auth0.com domain.

Let me know,
Dan

no we did not change it - the error just suddenly occured out of nowhere.

{tenant_name}.auth0.com ist different from our custom domain…but this has never been an issue before.

Can you please DM me the names of the iss in the token and the issuer you are expecting?