I need help getting a Discord token. I will now describe the problem.
So, I am registering a user in Discord using Oauth2-user-agent flow. After registering, when I redirect the user back to the bubble app, I get a code in the url parameter. How do I save it to the current user? I’ve gone through all the WFs, but still can’t do it. Maybe some of you guys know? This is the first question.
Second question. I set up an API call to get a token using the code from question 1. But, this call doesn’t work! I’ll attach screenshots of the settings and errors below.
Because of this, my access token keeps getting inactive and my Discord registration doesn’t work.
Please, if anyone can help, email me!
I will be very grateful for any help!
And my screenshots: