Basically, I'm trying to get AppAuth-JS to work with WHMCS OpenID, but having little success.
It seems to work with google but when I switch it to WHMCS config, it fails after it makes a TokenRequest and then it's waiting for the TokenResponse, instead it returns "Request ended with an error 400". I have tested the WHMCS OpenID configuration with Postman, and it worked but does not work when using the Github link below.
Do I need a refreshToken to complete the process?
Looks like I need it, but WHMCS doesn't return it, any way to bypass this?
The left side of the image uses google and the right side uses WHMCS
Expected Behavior
[REQUIRED] Describe expected behavior
Return TokenREquest Response
Describe the problem
Basically, I'm trying to get AppAuth-JS to work with WHMCS OpenID, but having little success. It seems to work with google but when I switch it to WHMCS config, it fails after it makes a TokenRequest and then it's waiting for the TokenResponse, instead it returns "Request ended with an error 400". I have tested the WHMCS OpenID configuration with Postman, and it worked but does not work when using the Github link below.
Do I need a refreshToken to complete the process? Looks like I need it, but WHMCS doesn't return it, any way to bypass this?
The left side of the image uses google and the right side uses WHMCS
[REQUIRED] Environment
Using the below git for testing. https://github.com/googlesamples/appauth-js-electron-sample