Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Discord SSO #887

Merged
2 commits merged into from
Jul 10, 2024
Merged

Add Discord SSO #887

2 commits merged into from
Jul 10, 2024

Conversation

ghost
Copy link

@ghost ghost commented Jul 6, 2024

Closes #883

Make a new app for Mbin instance at: https://discord.com/developers/applications

Set OAUTH_DISCORD_ID and OAUTH_DISCORD_SECRET in Mbin .env file and redirect URI in this panel (only example! change redirect to proper production domain for Mbin instance):

image

Tested in dev environment and seems to work as expected.

Utilizes https://github.com/wohali/oauth2-discord-new provider as listed at https://oauth2-client.thephpleague.com/providers/thirdparty/

@ghost ghost added enhancement New feature or request backend Backend related issues and pull requests sso Single-sign-on issues or pull requests labels Jul 6, 2024
@ghost ghost added this to the v1.6.1 milestone Jul 6, 2024
@ghost ghost self-assigned this Jul 6, 2024
@ghost ghost enabled auto-merge (squash) July 10, 2024 00:50
@ghost ghost merged commit 7b97ec2 into main Jul 10, 2024
7 checks passed
@ghost ghost deleted the add_discord_sso branch July 10, 2024 00:51
@TheVillageGuy
Copy link
Contributor

Awesome, thank you!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related issues and pull requests enhancement New feature or request sso Single-sign-on issues or pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Discord oauth login
2 participants