SallyMelek { "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 }
[deleted] 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
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. 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)
SKevo 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).
datitisev 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.
clarkwinkelmann Update 0.2.1 Fix route conflict with other social login extensions Fix duplicate class names when opening login modal multiple times Use unique class names so our CSS doesn't conflict with other social login extensions. Original class names have been preserved to not break custom CSS Update Google button to match branding requirements composer require fof/oauth php flarum cache:clear
matteocontrini Ffuser1 [deleted] unfortunately, it's a Google requirement, see discussion in FriendsOfFlarum/oauth18
[deleted] matteocontrini yes, I read something similar. However, this breaks the layout of icon only designs
tankerkiller125 [deleted] While I agree it sucks, It's Googles requirements and they are pretty strict about it.
matteocontrini Justoverclock the Italian language pack should catch up with that, it still provides translations for the old separated auth extensions instead of the new single fof/oauth. @Nearata
OrangeTurtle197 FriendsOfFlarum can you use a custom oauth app with this (such as minecraftid for a minecraft forum)?
clarkwinkelmann OrangeTurtle197 no. Adding an oauth2 compatible login is very easy using the Flarum extension API. This extension implements the most popular. The Passport extension allows custom implementations that are compatible with Laravel's Passport library. It can work with a wide range of oauth servers. If none of this works, you can create your own by creating a custom oauth login controller. Either by forking this extension or just copying the little bit of logic required into a new extension.
Hona Is there a way to require setting a password upon signing up with a social? Some things like changing your email etc require confirming your password which you won't have set this way
clarkwinkelmann Hona Is there a way to require setting a password upon signing up with a social? No that's not an option. At the Flarum level, password is automatically not offered as a field when a social login is used. Hona Some things like changing your email etc require confirming your password which you won't have set this way The official solution to this is using the password reset feature to define a password. Hona You should also be able to link socials (one or more) as an after thought no? Hona there should be a way to choose to display them on your profile Those two things are actually the same issue. Right now there's not really any "linking" going on. When you login with social, it just compares the email then discards any other information. There is some work being done in Flarum to connect and maintain list of oauth connections, but it's still a work in progress. We will likely not try to implement this separately in FoF OAuth. We're waiting for Flarum's official solution for connected accounts. I believe there's a different extension that exists where users can add social links to their profile (without connecting through them)