1.3.0

✨ Adds linked account status to your user profile page

  • view at a glance which accounts you've signed into Flarum with
  • Remove a link
  • Connect additional accounts to your forum account

image

Updating

composer update fof/oauth
php flarum cache:clear

    IanM Wow, thanks for this update, this is awesome!

    • [deleted]

    IanM

    Thanks!!!

    17 days later

    IanM

    Great update!

    The text is a little difficult to read on my forum - is there anyway to change this - or maybe the background colour?

    Thanks!

    https://codeberg.org/
    (using Gitea)

    Would be a nice addition to this. It supports Oauth2, so it should be relatively easy.

    2 months later

    I'm trying this extensions on flarum.cloud and it doesn't work with either Facebook or Google.
    With Facebook, it redirects to FB and there's an "unknown error".
    With Google, there's another error signaling a missing "client_id".

    please add ya.ru vk.com mail.ru

    • FBI likes this.
    a month later

    when a user tries to unlink their socials there is an error they are reciving.
    "This provider does not belong to you."

    how to solve this?

      10 days later
      a month later

      Does anyone have a full detailed step-by-step on how to add Discord / Facebook / GitHub / Twitter and Google logins?
      Every time I set it up, there is always something broken in the auth when you log in.

        DBurn You can learn how to get oAuth keys using search filters on YouTube. You can apply search filters in the form of posts that were shared 1 year ago.

        12 days later

        longlostsoul
        Go to Google Developers Console page.
        Make sure to login to your Google account.
        Create a new project and select it.
        Go to OAuth consent screen menu item on the left.
        Select the User Type as External and click Create.
        Fill out your app details in there, save and continue.
        Make sure to add the userinfo.email & userinfo.profile scopes, save and continue.
        Finish the last remaining steps.
        Go to Credentials menu item on the left.
        Create new OAuth client ID credentials.
        Select the Web application type.
        In the Authorized redirect URIs field, add your website's URL in this format: https://yourdomain.com/login/google (replace yourdomain.com with your own domain name).
        Create the credentials.
        Copy the Client ID and Client Secret.

        Umutcan adding Spotify support appears to be fairly easy to implement, however we are no longer adding additional providers directly to the OAuth extension.

        We now favour extensions to add functionality to fof/oauth, such as Slack, Apple, Twitch, Amazon, Reddit and so on.

        I'd be happy to implement a Spotify solution along these lines for you, for a small donation. Feel free to reach out to me if this is something you'd like to do 🙂