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

Move OSM authentication to OAuth 2.0 #1196

Closed
pnorman opened this issue Sep 27, 2023 · 4 comments
Closed

Move OSM authentication to OAuth 2.0 #1196

pnorman opened this issue Sep 27, 2023 · 4 comments

Comments

@pnorman
Copy link
Contributor

pnorman commented Sep 27, 2023

OAuth 1.0a is deprecated, and programs which use it to authenticate requests to OpenStreetMap should move to OAuth 2.0. A date has not yet been set for turning off OAuth 1.0a and HTTP Basic.

It's best to move to OAuth 2.0 well in advance of any turn-off, because users may take some time to upgrade software and to re-authenticate.

See openstreetmap/operations#867 for details.

@jbelien
Copy link
Member

jbelien commented Oct 28, 2023

Hello @pnorman ,

Thanks for the notice.
I believe OSM Welcome Tool is already using OAuth 2.0.

image

Is there something that make you think otherwise ?
If so, I'll be happy to make the necessary changes.

Thanks!

@danieldegroot2
Copy link

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)


Only forks should still have to update to the current (application) version to get these changes.

@pnorman
Copy link
Contributor Author

pnorman commented Nov 2, 2023

I believe OSM Welcome Tool is already using OAuth 2.0

I didn't find it in a quick code search, but if it is, that's good.

@pnorman pnorman closed this as completed Nov 2, 2023
@danieldegroot2
Copy link

@pnorman Yes, it is. Your results may vary depending on what you search.
In this case, it is not using openstreetmap.org URL directly. It is using jbelien/oauth2-openstreetmap.

See https://github.com/jbelien/oauth2-openstreetmap/blob/master/src/Provider/OpenStreetMap.php

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