Fatal error: Uncaught Auth0\SDK\Exception\ CoreException: Invalid domain


I created an .env-File with copy&paste from “Configure the SDK!” PHP: Getting Started using Auth0-PHP.

Now I got an Error:

" Fatal error : Uncaught Auth0\SDK\Exception\CoreException: Invalid domain!..>__construct(Array) #1 {main}…"

Into the .env the domain is with “https://”

Where is the mistake?


Hey there @frank.scholz welcome to the community!

Try omitting https:// from the domain value in your .env - I believe that should do the trick!

Let us know :slight_smile: