Would be nice to add Google login into Flarum community site as well ?

5 days later

Kyrne

[InvalidArgumentException]
Could not find package johnhearfield/flarum-ext-oauth-google at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

i am getting this error while installing via
composer require johnhearfield/flarum-ext-oauth-google

What possible solution could i have to this.Please assist.

a month later

@LEOcean1 Please help, because when I login with your plugin (Google login) everything is going well, until I go to website.com/auth/google pops up error "403 Forbidden You do not have permission to access this page." Please help, how to fix it?

    17 days later

    I get a 403 forbidden error when I try to log in with google on my site.

      Error: redirect_uri_mismatch

      how to get redirect_uri?

      ThatGuy

      ThatGuy Go to the "Library" (aka link in the left-hand sidebar that enumerates available APIs)
      Click on "Google + API"
      Near the top of the "Google + API" display click "Enable"

      Really odd that you have to do that. I have Google auth set up for my main app and didn't have to "enable" anything. It's been working fine for months.

      3 months later

      Avatar does not work. Why?

      avatar don't download from google+

      6 months later

      It looks like I got this to work, none of the Flarum / Wordpress auth sso things have worked for me so far. Is there a way to use this plugin, and then use a google oauth wordpress plugin as well to link my site and forum? I want to link the two, but nothing is working.

      14 days later

      Hi sir ?
      I installed it with composer, I saw the extension at backend and just when I enable it I receive a 500 ERROR.
      Some one know what happens? -I removed the extension and all works fine-

        davincy Is debug enabled? Set debug=false to debug=true in your forum's config.php file

        6 days later

        I wanted to add a note on what worked for me:

        For my setup, flarum is hosted at a URL like https://mydomain.example.com/forum, so in the Google credentials settings, I have the "Authorized javascript origin" set to https://mydomain.example.com (for this post, I'm not using my real domain), and the "Authorized redirect URI" I have set to https://mydomain.example.com/forum/auth/google .

        I also jumped through all the Google hoops they tell you to do when adding a client OAuth ID:

        • Enable an API (in particular the Google+ API)
        • Setup the OAuth Consent screen
        • Verify your ownership of the domain

        Finally, it is critical to remove the whitespace at the beginning and end of the Client ID and Client Secret when pasting into the extension configuration fields. I had thought I did this correctly, removing spaces from the end, only to realize that when I had copied these, there were also spaces at the beginning!

        One issue I have noticed with the OAuth extension is that the default user-name which populates the new-user name textbox (after a person has successfully authenticated) is only the user's first name -- it seems like this should be a full name (taken from OAuth info).

        3 months later

        Does this extension fire a "UserLoggedIn" event, like the normal login does? And if so, is there a way to listen to it, and get the logged-in user's data?

        4 months later

        hello,it support flarum beta7?the flarum admin err when it install。