1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 The OAuth client was not found.

Discussion in 'Troubleshooting and Problems' started by HeavyB, Oct 25, 2015.

  1. HeavyB

    HeavyB New Member

    New setup; PHP 5.5, Microsoft Windows Server 2012 Standard, mySQL 5.6.24. Just about everything is going smoothly. Learning a lot on day 1, etc. However, with Google integration I'm having a couple of problems.

    1. Have a Google Client ID and Client Secret, and double checked to make sure both were correctly copied, but "Log in with Google" generates the following in the google log in pop-up.

    No error in the error log, just the page load error quoted here.

    2. I have reCAPTCHA configured, and it works 'correctly' in the registration process (I do note that after clicking "sign up" it's very slow to move on). After registration process, error log lists the following.

    On the up side, the user is able to register and the confirmation email goes out.

    Appreciate any guidance.
     
  2. HeavyB

    HeavyB New Member

    Google Integration has changed since the Install Guide was written; https://xenforo.com/help/google-integration/

    I've gone back through and built a new project.

    My forum is located on a sub domain, http://forum.domain-name.com

    I created a OAuth 2.0 client ID. It is a Web Application. The OAuth Consent Screen is filled out. Verified sub domain by adding the google TXT record to the DNS configuration (this step could be a real pain in the behind).

    Copied the ID and Secret.

    Log in With Google and External Accounts Associate with Google (same thing) both return 401.

    I've added the google TXT record to the primary domain record, but it hasn't verified yet (takes a bit before google can see it).

    Any ideas about what I'm doing wrong?
     
  3. alexp999

    alexp999 Active Member

    Make sure you don't have any spaces either side of the ID or secret.

    I had this same problem until I looked at the URL it was creating and realised that the highlighted ID and secret when you copy it from the Google developer website has a space at both ends.
     

Share This Page