Update WPGraphQL Endpoint URL

You can modify the WPGraphQL endpoint in code with the following: This will change the graphql endpoint url from /graphql to /cutepuppies This also updates the WPGraphQL settings page:

Debugging JWT Authentication

This snippet outputs the $_SERVER superglobal so we can see if the Authorization token is being passed to the server or not.