Jump to content

Google sign in integrations issue


Sree

Recommended Posts

Hello Team,

I have tried to integrate google sign in as adviced in the doc https://docs.whmcs.com/Configuring_Sign-In_using_Google. I added my ClientId and ClientSecret key in the WHMCS admin area sign-in-integrations page. But I'm getting the error "Invalid details not saved. Please verify your details and try again" and the following error in the browser developer console

Quote

{"status":"error","errorMessage":"Could not verify details for Sign In Integration \u0022Google\u0022. Connection to provider failed: Client error response https://accounts.google.com/o/oauth2/iframerpc?action=checkOrigin\u0026origin=http%3A%2F%2F<mysitename.com>\u0026client_id=<myclientid> [status code] 403 [reason phrase] Forbidden"

I rechecked the API Key and Secret and also the Authorized Javascript Origins value as described in https://docs.whmcs.com/Troubleshooting_Sign-In_using_Google< But still I'm getting the same error. kindly help me to resolve this issue

Link to comment
Share on other sites

8 hours ago, WHMCS ChrisD said:

Hi @Sree

This is showing a 403 Forbidden error usually permissions based, could you try creating a new set of keys, please?

Hi @ChrisD

I tried the same. But it doesn't worked as expected.

Link to comment
Share on other sites

Try signing out of your Google account and back in again. Sometimes, especially if you have multiple sub accounts logged in, things can get weird. Other things to check are that you're not restricting the OAuth Client to the wrong address, you need to be restricting it from your WHMCS installation URL, which can't be a path example.com/whmcs. So it needs to be a FQDN or a subdomain of such.

Bare in mind, you NEED to set the OAuth settings FIRST before trying to create credentials.

Configuring Sign-In using Google

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated