Added test cases
tested the functionality
Discord option is available on the "Setup new login method"
I have added Mesago to Discord. When registering the app on the discord to get client id and client secret, the redirect URL is set as below
Be careful to select CLIENT ID and CLIENT SECRET (and not PUBLIC KEY accidentally) under Client information section in Discord. Its in OAuth2 section in Discord. It won't be visible if you are looking at General Information section.
Once the App ID and secret are added to the settings the new option appears as shown below
When users try to sign in or register they have the option to use discord
the login option with Discord asks to authorize
Once clicked Authorize, it logs in to Mesago as expected
coverage: 98.652% (+0.07%) from 98.587%
when pulling 4db8583d7fd74ed1b35574c373a2cb7a5f607292 on vikramlance:fix-1637-discord-sign-in-option
into 0c99ee36da3f15acb4b06f4b8fc72d8807e78f93 on rafalp:main.
added discord sign in option Fixes https://github.com/rafalp/Misago/issues/1637
Added test cases tested the functionality Discord option is available on the "Setup new login method"
I have added Mesago to Discord. When registering the app on the discord to get client id and client secret, the redirect URL is set as below
Be careful to select
CLIENT ID
andCLIENT SECRET
(and notPUBLIC KEY
accidentally) underClient information
section in Discord. Its inOAuth2
section in Discord. It won't be visible if you are looking atGeneral Information
section.Once the App ID and secret are added to the settings the new option appears as shown below
When users try to sign in or register they have the option to use discord
the login option with Discord asks to authorize
Once clicked Authorize, it logs in to Mesago as expected