zekroTJA / yuri69

The best soundboard that exists for Discord.
MIT License
11 stars 4 forks source link

Error trying to login #29

Open jusplainmike opened 7 months ago

jusplainmike commented 7 months ago

I have a fresh install using the provided docker-compose.yaml file. When trying to sign in I get this error.

{"redirect_uri": ["Not a well formed URL."]}

I'm sure it has to do with the bot configuration in the discord developer portal but I can't find any information about what to set the Oath settings to.

zekroTJA commented 7 months ago

Hey!

In the provided docker-compose.yml, you can find the configuration for the bot as environment variables. There is a variable called YURI_WEBSERVER_PUBLICADDRESS. This needs to match the domain you are setting in the Discord developer portal in the OAuth2 Configuration of your bot.

https://github.com/zekroTJA/yuri69/blob/master/docker-compose.yml#L68C7-L68C57

If you still have problems, could you please share the value you've set for YURI_WEBSERVER_PUBLICADDRESS? Feel free to retract the domain if you don't want to share it publicly.