HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Problems with Google/OpenID Sign-in

alovelyaialovelyai New
edited September 2012 in Vanilla 2.0 - 2.8

Facebook andTwitter sign-ins work perfectly for me! I cannot, however, figure out why the Google and OpenID sign-ins will not work. This is the error I get when trying to login with both of them:


Forbidden

You don't have permission to access /vanilla/entry/openid on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I scoured the forum for someone with the same problem, but did not find anyone. There was a similar problem mentioned here: http://vanillaforums.org/discussion/comment/163432/#Comment_163432

What I have in common with those people, is that I too am using HostGator.

When I contacted HostGator, I talked with the amazing and super helpful Jeremy W (I wish all help agents were as great and invested as he was). He went through everything on their end with a fine-toothed comb (requirements, permissions etc.) and came to the conclusion that it is most likely a problem with Vanilla's script. Hopefully we can get this solved soon!

If this is not actually a Vanilla issue and someone can help me and tell me what the problem actually is, I will absolutely contact HostGator so they can have information about the problem, for anyone else who needs help with this too.

I really wanted to be able to offer the Google sign-in feature on my forums, so I'm very disappointed I will have to disable it until there is a solution.

Can anyone help or shed light on this issue?

Comments

  • Also, I am now having problems with the Facebook sign-in too!

    I can register with Facebook with no problem, but when I logout and try to log back in with Facebook, this is the error I get:


    {
    "error": {
    "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
    "type": "OAuthException",
    "code": 191
    }
    }


    Can anyone help with this?

    I'm not super experienced with Vanilla or changing files, so please use simple language. My experience really is working with basic websites with basic html, php and css and installing fairly easy scripts.

  • I've got the same issue and have found several others experiencing the same as us.

    alovelyai
  • alovelyaialovelyai New
    edited September 2012

    I managed to fix the Facebook signin issue by finding the answer with some googling. Apparently, because I was completely unable to find clear instructions about creating a Facebook app in regards to Vanilla btw, there were some important fields that need to be filled out when creating your app that are not mentioned in any Vanilla guide that I saw.

    I really wish they had an up-to-date step-by-step guide for these things. I think it would save many of us time and energy and the forums would be less cluttered if things were explained more simply and clearly.


    Here are clear and simple (I hope) instructions on what I did to fix my Facebook Error:

    1. Go to: https://developers.facebook.com/apps/
    2. Click Edit App (on the top right)
    3. Make sure you are viewing your Basic settings. You can check on the left column by clicking Settings and then Basic.
    4. Scroll down the page most of the way and find the heading "App on Facebook" with a little check mark by it. Click it.
    5. Here you have to fill out the Canvas Url and the Secure Canvas Url. From what I read, for some reason Facebook requires these to be filled out.
    6. Here is an example of how to fill them out:

    Canvas Url: http://www.yourdomain.com/vanillalocation/

    Secure Canvas Url: https://www.yourdomain.com/vanillalocation/ (don't forget to put https instead of http here)

    I hope that helps someone! I'm not an expert AT ALL, but this is what worked for me and my Facebook sign-in works perfectly every time now.


    I still need help with OpenID and Google though.
    BTW in order to test if your OpenID works (be signed into google first) use this URL: https://www.google.com/accounts/o8/id
    That url supposedly works universally for everyone with a google account.

  • hi alovelyai, i was wondering if you can help me. I notice that you have the FB integration working. Can you please list the steps you took to get an APP made? Once done, I can then setup the canvas from point 4 you have mentioned above. I am on this website and not sure which option to take from here : https://developers.facebook.com/docs/
    Please help if you are free

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited November 2012

    Yes Facebook makes it very hard to find the page to create the app.

    Go here: developers.facebook.com/docs/samples/
    it gives you a tutorial on how to do it.

    developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/

    not as easy as making a google api...

    developers.facebook.com

  • thanks vrij - so far i have setup google, openid and FB. Tried logging in through Google and FB but it keeps returning "Bonk" error. I have no idea what else to do now. I can see that its working for so many others and cant figure out what i could have done wrong....i followed all instructions..

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    check you have the htaccess file properly configured. Make sure the folders cache Smarty compile, are writable with 777 or 775 permissions. There is lots of info here about how to solve that. :)

Sign In or Register to comment.