Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to OAuth 2 #4

Closed
danieldegroot2 opened this issue Nov 1, 2023 · 3 comments
Closed

Switch to OAuth 2 #4

danieldegroot2 opened this issue Nov 1, 2023 · 3 comments

Comments

@danieldegroot2
Copy link

Switch to OAuth 2 from HTTP Basic Auth and OAuth 1.0a. They are being deprecated.
See openstreetmap/operations#867

Note, api.openstreetmap.org API url currently can not do OAuth 2 handshake. See openstreetmap/operations#951 (comment)
You can split the www. base URL and api. API url. See osmlab/osm-auth#123 (comment)

cc: @Zverik

@mnalis
Copy link

mnalis commented Jun 23, 2024

I'm wondering if this is easier to do now that Zverik/Level0#71 has implemented Oauth2 successfully, or if the Oauth2 code is not reusable?

@Zverik
Copy link
Owner

Zverik commented Jun 24, 2024

I was like, whaaat, this is a python script, I thought I made those with oauth2. And then I saw I wrote this eight years ago, when osm.org did not support OAuth2.

Okay, I'll see to upgrading this then.

@Zverik
Copy link
Owner

Zverik commented Jun 24, 2024

Done.

@Zverik Zverik closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants