Chris
Chris
KKinde
Created by Chris on 11/27/2024 in #💻┃support
502 Bad Gateway on POST /oauth2/token endpoint
I signed up recently and am trying to setup a non-SDK integration on a Go back-end. The /oauth2/auth request works fine and I am able to login, but when I try to convert the callback code to an access token, I am getting a 502 Bad Gateway. Below is the example request I am making: https://collectivecore.kinde.com/oauth2/token?client_id=<valid_client_id>&client_secret=<valid_client_secret>&grant_type=authorization_code&redirect_uri=http://localhost:3000&code=<valid_code_from_callback> I am not sure what I am doing wrong here.
3 replies