Skip to content

[Feature Request] Allow a user to connect their Discord account to their Portal account #61

@stevenmqnguyen

Description

@stevenmqnguyen

Overview

Set up the groundwork for future discord integration features. This groundwork includes grabbing user metadata, such as snowflake, username, and discriminator, from discord,

A user must first connect a Discord account. On each sign-in afterward, we need to fetch the user's metadata from Discord including their snowflake. This is done by using the access token in the accounts collection to send an api call to Discord.

Tasks

  • Add Discord Auth URL with identify, email, guilds scope to NextAuth Discord provider options
  • Get user metadata from Discord, including snowflake, username, discriminator
  • Verify user is in acm server
  • Add verified role
  • Document

Supplemental Information

Metadata

Metadata

Assignees

Labels

New FeatureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions