Skip to content

Add Discord linking - #12

Closed
Morb0 wants to merge 11 commits into
space-wizards:masterfrom
Morb0:feature/discord-link
Closed

Morb0 wants to merge 11 commits into
space-wizards:masterfrom
Morb0:feature/discord-link

Conversation

@Morb0

@Morb0 Morb0 commented Sep 28, 2022 •

Copy link
Copy Markdown

Add DiscoirdId for User model.

  • Web:
    • New manager page for Discord linking
    • Same as Patreon OAuth linking flow
  • Auth API:
    • HTTP method to get user by discord id
    • New controller for Discord linking through temporary sessions (future launcher linking flow)

# Conflicts:
#	SS14.Auth.Shared/Data/ApplicationDbContext.cs
#	SS14.Auth.Shared/Data/SpaceUser.cs
#	SS14.Auth.Shared/StartupHelpers.cs
#	SS14.Auth/Controllers/QueryApiController.cs
#	SS14.Auth/Controllers/SessionApiController.cs
#	SS14.Auth/Responses/QueryUserResponse.cs
#	SS14.Web/Areas/Identity/Pages/Account/Manage/ManageNavPages.cs
#	SS14.Web/SS14.Web.csproj
#	SS14.Web/Startup.cs
@VasilisThePikachu

Copy link
Copy Markdown
Member

I will be opting to close this as of now.

Outside of the fact it is 4 years in a conflicting state we would really not want discord link information (or any other accounts) to be this easily accessible to the public/any server someone is connecting to without first gaining such a permission to share their linked accounts to the game server.

We will first need some kind of auth flow where a player can consent to sharing aditional data with a server (like #45 is building up to) first. And the player can then allow the game server to receive their discord information that way.

Thank you for the submission.

@Morb0
Morb0 deleted the feature/discord-link branch November 4, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants