matteocontrini That's correct - just found this myself. However, LinkedIn still doesn't appear here so it needs a PR based on luuhai48/oauth-linkedin
luuhai48/oauth-linkedin
matteocontrini sorry but I'm confused, will google be added to fof/oauth OR I need to install luuhai48/oauth-google to get google login
SallyMelek Just install fof/ouath as this has Google already included.
fof/ouath
[deleted] I already have fof/oauth installed, but i don't have google
SallyMelek It's probably v0.1.0 - try composer update fof/oauth -W
composer update fof/oauth -W
[deleted] tried, it's still stuck on fof-oauth | 0.1.0
SallyMelek Can you post the output of your composer.json ?
{ "name": "flarum/flarum", "description": "Delightfully simple forum software.", "type": "project", "keywords": [ "forum", "discussion" ], "homepage": "https://flarum.org/", "license": "MIT", "authors": [ { "name": "Franz Liedke", "email": "franz@develophp.org" }, { "name": "Daniel Klabbers", "email": "daniel@klabbers.email", "homepage": "https://luceos.com" }, { "name": "David Sevilla Martin", "email": "me+flarum@datitisev.me", "homepage": "https://datitisev.me" }, { "name": "Clark Winkelmann", "email": "clark.winkelmann@gmail.com", "homepage": "https://clarkwinkelmann.com" }, { "name": "Matthew Kilgore", "email": "matthew@kilgore.dev" } ], "support": { "issues": "https://github.com/flarum/core/issues", "source": "https://github.com/flarum/flarum", "docs": "https://flarum.org/docs/" }, "require": { "andre-pullinen/ads": "^0.2.8", "askvortsov/flarum-moderator-warnings": "^0.4.0", "flarum/approval": "*", "flarum/core": "^0.1.0", "flarum/emoji": "*", "flarum/flags": "*", "flarum/lang-english": "*", "flarum/likes": "*", "flarum/lock": "*", "flarum/markdown": "*", "flarum/mentions": "*", "flarum/pusher": "*", "flarum/statistics": "*", "flarum/sticky": "*", "flarum/subscriptions": "*", "flarum/suspend": "*", "flarum/tags": "*", "fof/best-answer": "^0.3.2", "fof/formatting": "^0.2.0", "fof/linguist": "^0.5.0", "fof/links": "^0.4.2", "fof/merge-discussions": "*", "fof/oauth": "^0.1.0", "fof/pages": "0.5.1.*", "fof/sitemap": "^0.6.0", "fof/stopforumspam": "^0.3.2", "fof/terms": "^0.6.1", "fof/upload": "^0.11.3", "fof/user-bio": "^0.4.1", "league/flysystem-aws-s3-v3": "1.*", "v17development/flarum-seo": "*" }, "config": { "preferred-install": "dist", "sort-packages": true }, "minimum-stability": "beta", "prefer-stable": true }
SallyMelek composer require fof/oauth 0.2.0
composer require fof/oauth 0.2.0
SallyMelek Either modify "fof/oauth": "^0.1.0", so that it reads "fof/oauth": "**", then run composer update fof/oauth or use composer update fof/oauth:0.2.0
"fof/oauth": "^0.1.0",
"fof/oauth": "**",
composer update fof/oauth
composer update fof/oauth:0.2.0
Lolu
[deleted]
thanks guys
composer require fof/oauth 0.2.0 this method worked
So before I launch my forum, doing testing on creating accounts with FB & Google. Like check the screenshots, when i choose to sign up with Google, no fields are inputted however with FB the fields are inputted automatically.
Wondering if there is a bug? And can't we remove the email field when the user is creating an account with FB or google or discord or ..... (like when i create accounts on other websites with my facebook or gmail, I don't see an email field shown during account creation.)
(first one without anything inputted - by google)
(second one - by facebook)
SallyMelek So before I launch my forum, doing testing on creating accounts with FB & Google. Like check the screenshots, when i choose to sign up with Google, no fields are inputted however with FB the fields are inputted automatically.
Similar problem was reported on FreeFlarum. When using the "Login" modal, the form gets filled in normally. When using the "Sign Up" however, it doesn't fill in the user data (login with Twitter).
SKevo This is probably a Flarum issue instead of a fof/oauth issue... the only front-end JS this extension has is for the admin settings & adding the buttons.
composer require fof/oauth php flarum cache:clear
Bug: button only settings still shows Google logo with text in the new update.
Ffuser1 thanks. Noticed this earlier and forgot to report.
Ffuser1 [deleted] unfortunately, it's a Google requirement, see discussion in FriendsOfFlarum/oauth#18
matteocontrini yes, I read something similar. However, this breaks the layout of icon only designs
[deleted] While I agree it sucks, It's Googles requirements and they are pretty strict about it.