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

Error trying to login #29

Open
jusplainmike opened this issue Mar 26, 2024 · 1 comment
Open

Error trying to login #29

jusplainmike opened this issue Mar 26, 2024 · 1 comment

Comments

@jusplainmike
Copy link

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
Copy link
Owner

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.

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

No branches or pull requests

2 participants