Would be nice to add Google login into Flarum community site as well ?
Google OAuth plugin
omercan i am having problems with twitter login please can you assist me.
AshishKumar completely separate plugin, please see the twitter auth extension
- Edited
[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.
I get a 403 forbidden error when I try to log in with google on my site.
- Edited
rredux, heyitswither The other day I installed this extension and got the same problem.
I took the advice ThatGuy. And problem was solved.
spiridon thanks, I'll give it a try
Error: redirect_uri_mismatch
how to get redirect_uri?
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.
Avatar does not work. Why?
avatar don't download from google+
- Edited
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.
- Edited
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-
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!
- Edited
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).
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?
hello,it support flarum beta7?the flarum admin err when it install。