#Login with discord does not work

1 messages · Page 1 of 1 (latest)

fresh surge
merry charmBOT
# fresh surge When I enter in my bot's information and the bot is invited to my server as well...

We don’t have discord auth added as a login method because pterodactyl doesn’t have this either. Currently, our registration form automatically sends data to pterodactyl as well. So you get one login for both panels.
If we were to add discord login to our login form, you would still need to log in to pterodactyl.
This can be done using an ugly password generator on controlpanel. But this, kind of, still defeats the purpose of the convenient discord login since you still need to log in.
Adding discord login to pterodactyl also requires extra work since I assume you don’t want random people to log into your pterodactyl panel while they haven’t registered on controlpanel yet (or are even banned from your controlpanel).
Because of this, we chose to have a standard login form linked to pterodactyl.

merry charmBOT
#

It seems that you haven't set up discord 0auth correctly, but fear not, the docs come to the rescue! https://controlpanel.gg/docs/Installation/additional-configuration#discord-auth

Extra information about URL Formatting
Any URL saved in your settings should never end with a /slash; controlpanel adds this / automatically to any URL, adding an extra
/ will break the URL!

GOOD Example:
https://controlpanel.gg
BAD EXAMPLE:
https://controlpanel.gg/

When configuring discord-auth, we will automatically use your APP_URL to create the appropriate URLs needed for discord-0auth. Make sure your URLs are correct!

When using SSL-Encryption (https://) double-check that all your URLs start with https:// instead of http://

After editing the .env File you have to clear the Cache:

php artisan cache:clear
php artisan config:clear