djemyjenab this extension doesn't move the location of the login button. It stays in the header.

You mean you're trying to put it somewhere else on the (home)page?

    a month later

    @FriendsOfFlarum Hello, I configured the facebook application to log in to flarum but it stops at this login screen with my facebook information and it doesn't stay there I add the terms of use and it gives this error (Oops! Something went wrong. Please reload the page and try again.). Why ?

    2 months later
    8 days later

    Having issues with GitHub (404 not found) and Google (400 missing request / invalid parameter: client_id)

    Am I missing something?

    • IanM replied to this.

      logixworx I just enabled both of these on my test forum, as well as logging in here on discuss using GitHub, and don't see an issue with them at the moment.

      There was an update released yesterday for the underlying GitHub provider, which resolves an issue obtaining the email address during registration thephpleague/oauth2-github20. It might be worth updating your dependencies just in case, but I don't think you'd be seeing a 404 due to this.

      composer require fof/oauth -W

      As for the Google 400 have you correctly entered the client_id in the extension settings for Google oauth?

      7 days later

      I think this extension should include "Sign in with Steam" and "Sign in with Twitch" features. In this way, we can attract the attention of the gamers.


      Apart from that, Telegram is getting very popular. It would be great to have it supported on his Telegram.

      https://core.telegram.org/widgets/login

      • IanM replied to this.

        Umutcan over the time since this extension was released there have been many requests for additional provider support. Including many different OAuth providers in the one package for convenience on the one hand is appealing, but at the same time could be considered bloat, as well as introducing additional complexity towards the maintenance of the extension.

        As it stands, some of the most requested/popular auth providers are included directly in the extension. We've also made it possible improvements to allow additional providers to be added via seperate extensions to this extension.

        For example these are just some of the extensions which add providers directly into fof/oauth:

        There could well be more, but these are the ones I'm personally aware of. Of course, other OAuth extensions exist too, that provide OAuth with X login, but don't reuse the fof/oauth framework. I would suggest that those extensions that do not do this consider refactoring, as their complexity can be greatly reduced by using the framework provided already, as well as keeping a uniform implementation for all auth providers.

        Creating an auth extension for Twitch and Steam using the fof/oauth framework is pretty straight forward. As you say, an implemention for Steam already exists, but outside of the framework. Twitch could be created perhaps with a couple of hours work (going on a cursory look at the Twitch requirements).

        Telegram on the other hand is also possible, but would require a little more time spent on developing a solution for Flarum.

        Perhaps your suggestions here could be separated out into the three providers and created under the Proposals tag, perhaps even with a bounty to encourage their development? 🤔

        IanM It's great to see the extension topic while I'm creating a topic, thank you for creating this extension in such a short time.

        There seems to be a small problem. This option Show only Login Button icons (alternate layout) does not comply with the Google layout when enabled. Will attach the screenshot below.


        • IanM replied to this.

          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.