Features

Add Discord Login Integration

2y agoPending

Add it so a user can login with Discord and we can access the data that is sent with the identify scope - including user ID, username, avatar

This would be beneficial to validate that request comes from a certain user.

and 3 others

8 comments

  1. Jayce3mo ago

    1,000% need this! "Log in with Discord" button on forms would be incredible!

  2. Would LOVE to see this, and would be so useful so people can't lie about their usernames/ids

  3. Hi Luca, thanks for this request!

    Could you clarify if your request is that:

    - The Tally user (who is the form editor to) is able to create an account and sign in with discord (like you already can do today with google and/or apple accounts)?

    - Or that you want to capture discord information from your form respondents who are answering your form?

    - Or both :-)

    1. Frederik Simoen The second option fits it better.

      I imagine it to be as follows:

      One may add a "Login" button as a component that utilizes Discord's OAuth2 flow. (See https://discord.com/developers/docs/topics/oauth2) Once the user has completed the login process, the form can be automatically populated with the relevant information or the data received can be stored in a different location.

      Once the user has completed the form, their Discord user data is also sent as an extra field in the webhook payload.

      When I refer to "user data," I am in fact referring to all information that can be obtained through the "identify" scope.

      To improve the security of this process, it is plausible that the creator of the form would be required to provide the credentials of their own Discord application to Tally. The only credential required by Tally would be the client secret of the application.

      It is also necessary for the user to set a redirect URL in the Discord Dev Portal to tally.so/... for the process to work.

      And maybe the Public Key of the Discord application, but I don't know what that's for, haha.

      That's basically how I see it.

      A login into tally with Discord for tally's account creation/login would also be cool :)

    2. Hi Luca Hentschel, thanks for the clarification. I now have a clear understanding of how you envision this feature and its intended purpose. While I can't make any promises about if or when it might be implemented, rest assured that you'll see updates here if anything changes. Thanks again for your contribution!

    3. Frederik Simoen Thank you for the response ^^

    4. Frederik Simoen, A discord integration for both (also to login with your Discord account via block would be super useful (as well as the JSON object with the user's Discord ID, Discord username, globalname, avatar and banner)

      Same potentially for Facebook, Insta, TikTok, Snap and a few other social media platforms

    5. Hi stampy bird, thanks for your contribution!

      I see how that could be useful in the same way how today you can already sign up/in with google and apple accounts.

      Additionally, it would indeed be interesting to be able to allow respondents to more easily share their information from accounts such as discord and other you mention.