real2two / dashactyl

The better version of FusionPanel.
MIT License
1 stars 0 forks source link

BUG: Only absolute URLs are supported & Discord Auth don't working #42

Open tanguy-fgl opened 3 years ago

tanguy-fgl commented 3 years ago

Hello I use Dashactyl but I do not understand why the connection with Discord does not work yet I followed the documentation with as settings.json:

"oauth2": {
        "_comment": "Go to https://discord.dev/ and create an application to set these up.",
        "id": "880862004246642728",
        "secret": "Sh2Xik3i0So4UfazbH_Wsyo3c4f83HjT",
        "link": "https://client.mehost.fr",
        "callbackpath": "/callback",
        "prompt": true,

        "ip": {
          "trust x-forwarded-for": true,
          "block": [],

          "_comment": "'duplicate check' is an anti-alt check by IPs.",
          "duplicate check": true,

          "_comment2": "'cookie alt check' is an anti-alt check by cookies.",
          "cookie alt check": true
        }
      },

When I log into Discord at the end it redirects me to the Dashactyl homepage with the error: "INVALIDCODE" and i got the error "only absolute urls"