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

XF 1.3 bug with google+

Discussion in 'Troubleshooting and Problems' started by Tealk, Mar 28, 2014.

  1. Tealk

    Tealk Active Member

    if user try to register with google+ they get this error:

    no registered origin
    Details anfordern
    scope=https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/plus.moments.write https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.profile.agerange.read https://www.googleapis.com/auth/plus.profile.language.read https://www.googleapis.com/auth/plus.circles.members.read
    response_type=code token id_token gsession
  2. Chris D

    Chris D XenForo Developer Staff Member

  3. Echelon

    Echelon Active Member

    I don't get any error....in fact...i do not get any result from google+......looks like the link isn't working when i want to login or register with goorle+. also when i want to associate my google+ account....link seems to be dead.

    I am pretty sure my setup is correct

    can someone give me a solution?

    i used to use the add on from guiltar and worked like a charm.....no it's not



  4. Chris D

    Chris D XenForo Developer Staff Member

    First of all, you'll want to log in to Google and regenerate those API keys now or create new ones. Always keep those private, especially the one that clearly states it is a "Secret" ;) As it stands right now, someone could use those secret keys and potentially spoof your app.

    The Log in button for Google works a little differently to the others. It gets fired via JavaScript.

    Once you have clicked the button and nothing has happened, check your browser console (F12) and see if any errors have been logged.
    Echelon likes this.
  5. Echelon

    Echelon Active Member

    I will regenerate the api keys and see what happens next...thanks for your help
  6. Chris D

    Chris D XenForo Developer Staff Member

    I know what your site URL is... I've just checked out your site.

    I noticed that your board is closed at the moment. If you open the board, does it make any difference? I don't think it will, but just wanted to check.

    Also, you seem to have some non-standard social buttons that may be interrupting the XenForo JS. Could you try again with these buttons disabled?
    Echelon likes this.
  7. Echelon

    Echelon Active Member

    which buttons you refering to exactly...the ones on the right in the header?
    well....i cannot disable them since it's a customized script.

    also....google+ worked perfectly with the guiltar addon...even with the non standard social buttons
  8. Chris D

    Chris D XenForo Developer Staff Member

    Yes the top right header sharing buttons.

    Anything that is non-standard can be disabled. Do you still have the XenForo Default Style available? Presumably you added those buttons to the Style you have enabled by default. Does it work OK if you try the default style?

    The implementation in the guiltar add-on is outdated and will stop working when Google make a number of changes to its API this year.
  9. Echelon

    Echelon Active Member

  10. Chris D

    Chris D XenForo Developer Staff Member

    If it works ok on the default style, then the issue is caused by something that is in your custom style that isn't in the default style. It's also most likely JavaScript related.

    Therefore I have to say that it may well be the custom share button script you're using. The only way to be sure is to somehow disable it - or remove it if that isn't possible.
    Echelon likes this.
  11. Echelon

    Echelon Active Member

    Thanks. but removing the custom share script is just NO option. I now know where the issue is and will find someone [programmer] who will fix this. do you know any good programmer?
  12. Chris D

    Chris D XenForo Developer Staff Member

    I'm not asking you to remove it permanently. Just remove it to prove it is that. You don't want to go paying someone to fix it if it turns out it isn't that...
  13. Echelon

    Echelon Active Member

    that's the point....i cannot remove it because im not skilled enough to solve the issues.....im not a programmer...im just a simple guy who wants his forum to work ;-)
  14. Tracy Perry

    Tracy Perry Well-Known Member

    If it is loaded in a template, just precede it with a <xen:comment> and place a </xen:comment> after it. That should disable it.
  15. Echelon

    Echelon Active Member

    this is no solution. the solution is that my custom social buttons as well as my social integration both work. disabling this extremely important buttons is in no way any discussable option
  16. Tracy Perry

    Tracy Perry Well-Known Member

    Point is... it will allow you to discover for SURE on YOUR CURRENT STYLE if that is the problem. It's not the "solution" but the first step towards confirming that is the problem. If you have no desire to attempt to confirm that is the problem on that style then fixing it will be "difficult".
    You specifically stated that
    and I gave you the solution for removing it to see if it was the problem.
    Chris D likes this.
  17. Chris D

    Chris D XenForo Developer Staff Member

    Once again. It needs to happen temporarily one way or another or the issue cannot be confirmed as that.

Share This Page