oAuth 2.0 can not get access_token

Hello.
I make personal iOS app for editing Openstreetmap. I want log in with oAuth 2.0
My user go to auth page /oauth2/authorize
Enter login and pass, and after redirect i have code=CODE
Than i need send secret_key and this code to url https://www.openstreetmap.org/oauth2/token/
for example:
/oauth2/token/?code=CODE&secret_key=SECRET_KEY
But i have error 404

How can i fix it? Thank you

7 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/oauth-2-0-can-not-get-access-token/8186