@Madchatthew said in TNG + Nodebb:
you have to try and use duck tape and super glue to change something to make it do what you want it to do
I couldn’t have put that better myself.
Hi,
Thanks regarding the CSS that is OK now.
I have the same settings as you have posted in all above.
I noticed that when i hover over the ‘alternative registration’ I can see this in bottom of window before I click the link.
That is not the link that is in my app.
This is wrong?
Maybe you could take a look remotely via AnyDesk ?
Note: My forum is not ‘public’ as in it can still of course be accessed publicly but I have not ‘advertised’ it as yet. So people do not know it’s there. I will do that when I am happy with it Just for Gamers anyway and of course for my own hobby/learning curve. I think with Discord more people will be more likely to ‘quickly’ register.
@Sampo2910 said in Discord Login - OAuth2 - NodeBB:
This is wrong?
No, this is fact correct. The callback part is the data sent back from Discord itself to your site to complete the OAUTH handshake.
@Sampo2910 said in Discord Login - OAuth2 - NodeBB:
Maybe you could take a look remotely via AnyDesk ?
I registered on your site, so if you can make me an admin (temporarily) that would be good so I can have a look around.
I’ll also need access to your Discord setup
You should be an admin now.
If you send me your discord tag i can invite you as a tester.
@Sampo2910 phenomlab#0581
@Sampo2910 Hmm - don’t see it in the teams section ?
@Sampo2910 Strange. Accepted it, but still can’t see it.
Can you try now. I had to put test mode on through main Discord application. Sorry. Forgot about that.
@Sampo2910 Still nothing.
@Sampo2910 I think you need to create a team ?
@Sampo2910 Now you need to invite me - you probably need to enable 2FA for this also (for obvious security reasons)
@Sampo2910 Am in. Will create a new OAUTH app under this team.
@Sampo2910 Having issues with this. Can you let me know if your server is running NGINX, and if it is, can you please post the nginx.conf
(obviously remove sensitive information)
@phenomlab After checking in various places (including the nginx.conf file
), the reason as to why this fails is because of the trailing /
in the url
within config.json
. Now that we’ve removed that and restarted NodeBB, Discord OAUTH works as intended.
Thank you so much for your time. Very much appreciated.
Hi guys. I’m trying to get this Discord plugin to work, but it throws a 502 Bad Gateway error on the /auth/discord/callback URL (but only when it contains the returning GET parameters from Discord).
Any ideas?