Organization ID claim error

Please include the following information in your post:

  • Which SDK this is regarding: auth0-php
  • SDK Version: e.g. 7.9.2
  • Platform Version: e.g. PHP 8.0
  • Code Snippets/Error Messages/Supporting Details/Screenshots:

I followed the integration guide to get Auth0 working in my Laravel application, but after completing all of the steps, I’m immediately met with an error about “Organization Id (org_id) must be a string present in the ID token”.

The config file does not have an organization set. When I setup an organization and put it in the config file, then I can never get to the login page. It hits my callback and redirects me without any chance to authenticate. I’ve searched for any sign of this error and can’t get to the bottom of what’s happening with this. Is anyone able to point me in the right direction?

Hi @david.vanscott

Can you post a code snippet with the request that is returning this error? In addition, can you please DM me your tenant name?