Hello, I’ve been trying to get the access token for a user to allow a user to upload.
The docs don’t seem to specify the needed parameters once one gets the authorization code from the /connect endpoint
So, I’ve been trying to:
Get authorization code (code) from https://graph.mapillary.com/connect using the client_id, redirect_uri, scope parameters.
Attempt to get access_token from https://graph.mapillary.com/token using client_id, access_token, code, grant_type, client_secret, redirect_uri parameters.
I get the access_token parameters used in the second step from the dashboard (MLY|XXXXXXX...) because it complained that I needed authorization.
However, when I try to send the second request from the callback page, I get an error stating that “Application Secret required for this endpoint”. But, I have provided the client_secret, which I got from the developer dashboard. I couldn’t find anything else from the OAuth spec.
I’m also not sure what the /authorize endpoint was for since there is /connect.
Okay update, if you enter the authentication URL from the developer page into your browser, it’ll take you to an authentication page which will then redirect you to your redirect URI and your code will be in the url. Not sure what to do with the code though.
Seeing the same thing as everyone else. The documentation says contradicting things like /connect vs /authorize. No details on what needs to be sent to /token, and I get an unhelpful error that I can’t lookup anywhere: