Hi all, I have just built a new Debian12/FreePBX server and am having some trouble getting GraphQL Explorer and Documentation working. I have a proper cert installed, and am accessing freepbx through the fqdn. When I try to use GraphQL Explorer, I get the following:
{
"error": {
"type": "League\\OAuth2\\Server\\Exception\\OAuthServerException",
"message": "The resource owner or authorization server denied the request.",
"code": 9,
"file": "/var/www/html/admin/modules/api/vendor/league/oauth2-server/src/Exception/OAuthServerException.php",
"line": 243
}
}
I found a python script here and am able to access gql api using python and Insomnia, but only through http, not https. Additionally when I try to “Generate Documentation”, I also get an error “Unable to get local issuer certificate”.