I am trying to access iNaturalist.org, which requires OAuth 2.0 authentication. It supports the Authorization Code flow, which I know Parabola also supports. I’ve created an app on iNaturalist and obtained the authorization request URL. When I try to perfrom an OAuth 2.0 authorization in Parabola, I keep getting an error after the initial authorization code is generated and the token request is placed. I get this error: “An error occurred during authorization: Access token URL returned a 500 when making a request for the access token.”
Here are the settings I have currently for the token request:
Token Request URL: https://www.inaturalist.org/oauth/token
Header Key: Content-Type: application/json
Can someone help me understand what I’m doing wrong here? It seems to send the authorization request and generate the authorization code, because I can see the code appended to the redirect uri, but it seems to be broken at the point where the token is requested. Maybe I just have the URL wrong? I feel like it’s something simple that I’m overlooking.
If anyone can help me solve this puzzle, I would immensely appreciate it! Thanks for taking the time. Hope everyone is well out there.