Sank6 / Discord-Bot-List

Just another botlist for discord
GNU General Public License v3.0
213 stars 185 forks source link

I'm hosting on glitch and there's a login error #116

Closed sayantan300 closed 4 years ago

sayantan300 commented 4 years ago

My site is on https://rovelbotlist.glitch.me/ When I try to login, either it shows api request error when I use the default link given in ur codes... The ones with ` quotes ` .... But when I generate & use the link from discord dev site with 'identify scope' and edit the code and put in " " then when I press the login it just loops...

Zaid-maker commented 4 years ago

You have to set a proper redirect_uri in your dev portal application.

On Tue, 4 Aug 2020, 5:06 pm sayantan300, notifications@github.com wrote:

My site is on https://rovelbotlist.glitch.me/ When I try to login, either it shows api request error when I use the default link given in ur codes... The ones with quotes .... But when I generate & use the link from discord dev site with 'identify scope' and edit the code and put in " " then when I press the login it just loops...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNFFZPSPLKJ2K3KHXU3R672VBANCNFSM4PUKPY4Q .

sayantan300 commented 4 years ago

This makes login loop https://discord.com/api/oauth2/authorize?client_id=603213294265958400&redirect_uri=https%3A%2F%2Frovelbotlist.glitch.me%2Fapi%2Fcallback&response_type=code&scope=identify

Zaid-maker commented 4 years ago

This is not valid redirect_uri link it must be https://project-name.glitch.me/api/callback

On Tue, 4 Aug 2020, 5:26 pm sayantan300, notifications@github.com wrote:

This makes login loop

https://discord.com/api/oauth2/authorize?client_id=603213294265958400&redirect_uri=https%3A%2F%2Frovelbotlist.glitch.me%2Fapi%2Fcallback&response_type=code&scope=identify

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/116#issuecomment-668564859, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNARBGJH3N6RUKQWFZ3R6747LANCNFSM4PUKPY4Q .

sayantan300 commented 4 years ago

Screenshot_20200804-175827

sayantan300 commented 4 years ago

Can u say what's wrong?

sayantan300 commented 4 years ago

@Zaid-maker

Zaid-maker commented 4 years ago

Yes like that

On Tue, 4 Aug 2020, 5:30 pm sayantan300, notifications@github.com wrote:

[image: Screenshot_20200804-175827] https://user-images.githubusercontent.com/62213554/89293910-534c0080-d67c-11ea-9819-871471639f57.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/116#issuecomment-668566765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNBNTDZW45TONOY6GLTR675QBANCNFSM4PUKPY4Q .

sayantan300 commented 4 years ago

So why isn't it working?

sayantan300 commented 4 years ago

@Zaid-maker

sayantan300 commented 4 years ago

It says invalid oauth2 uri

sayantan300 commented 4 years ago

And btw the link in ur code has website link at the last, whereas the link generator has it in the middle and perms in the last...

Zaid-maker commented 4 years ago

We don't need to use scope it auto done when you start the service show me your DOMAIN variable in .env file

sayantan300 commented 4 years ago

Screenshot_20200804-184012~2 Here

Zaid-maker commented 4 years ago

Change it to plaintext then show me I cannot see

On Tue, 4 Aug 2020, 6:19 pm sayantan300, notifications@github.com wrote:

[image: Screenshot_20200804-184012~2] https://user-images.githubusercontent.com/62213554/89298627-2ea75700-d683-11ea-8262-4dd0281a1777.png Here

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/116#issuecomment-668592182, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNGDP6MKZIVMERZW55LR7ADGPANCNFSM4PUKPY4Q .

sayantan300 commented 4 years ago

Domain : https://rovelbotlist.glitch.me/

sayantan300 commented 4 years ago

Port 3000

sayantan300 commented 4 years ago

I fixed it by removing / from domain at last

sayantan300 commented 4 years ago

Yay

Zaid-maker commented 4 years ago

Congrats dude

On Tue, 4 Aug 2020, 7:17 pm sayantan300, notifications@github.com wrote:

Closed #116 https://github.com/Sank6/Discord-Bot-List/issues/116.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sank6/Discord-Bot-List/issues/116#event-3620461278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMXTCNGJ3BUGXTP4PQWJXCDR7AJ7DANCNFSM4PUKPY4Q .