0.1.1

  • Fix internal server error if no avatar info was given by Discord

Updating

composer update fof/auth-discord

Likqez I'm not sure exactly what the issue is here. Could you clarify? As far as I can tell, /forum/auth/discord works just fine, and the redirect should be set to that in the Discord application settings...

    Hi there - I seem to be encountering an issue setting the OAuth2 redirect. It may have something to do with the above error but uncertain. I've added the client ID and secret, however when trying to log in with Discord, I get redirected to an "Invalid OAuth2 redirect_uri" message. Flarum is installed to /forum/ . For the sake of sanity, I've tried redirecting to both /forum/public/auth/discord as well as /forum/auth/discord , neither of which give a different result. Thoughts?

    This is on a fresh install of Flarum (just installed in the past hour).

    Edit: re-read that thread and it seems related. Well that's aggravating.

    11 days later

    panikajo You need to add a redirect URL to your Discord application, see the first post for what to write.

      panikajo Hm, you are using subdomain. I think there's an issue with subdomains that is fixed for the next beta, but I don't remember it fixing the error you are receiving. Does that error appear immediately after when you click "Login with Discord" or after you authorize the application ?

        datitisev Does that error appear immediately after when you click "Login with Discord" or after you authorize the application ?

        yes

        panikajo My apologies, I meant subfolder. Also, please do not make multiple replies when you can edit the original one 🙂.

        And it is an issue because of the subfolder, none of the OAuth extensions currently work. I'm fixing it right now for fof/oauth-discord :D.

          0.1.2

          Updating

          composer update fof/auth-discord