Zero Trust broke when I changed my organization name

Related to

Access

What is the issue you’re encountering

I changed the team domain and since then I can not log in using either One-Time Code or Google. When I click “sign in with Google.” I receive Error 400: redirect_uri_mismatch and when I use the one-time code, the email arrives, and I can log in, but then I receive the error page “Unable to find your Access organization! It appears that you have attempted to reach an invalid URL. Please enter a valid team name.”

What steps have you taken to resolve the issue?

I have:

  • Rebuilt the tunnel, app and route.
  • Remade the Google OAuth client completely for the new URL.