{"repo":"osmlab/osm-auth","free":true,"listed":false,"github":"https://github.com/osmlab/osm-auth","clone":"git clone https://github.com/osmlab/osm-auth.git","description":"Easy authentication for OpenStreetMap over OAuth2.0","language":"JavaScript","stars":76,"topics":["oauth2","openstreetmap"],"license":"ISC","category":"auth-billing-email","readme_excerpt":"osm-auth Easy authentication with OpenStreetMap over OAuth 2.0. See also: https://wiki.openstreetmap.org/wiki/OAuth [!IMPORTANT] Due to security changes on 8 July 2025, authentication using the popup mode will not work until you: 1. update this library to = v3.0.0 2. AND update the code snippet in your land.html file to the latest version (see this example) Note that openstreetmap.org currently only supports OAuth2.0. OAuth1.0 is turned off. If you want the older version of this library that supports OAuth 1.0a (e.g. for a sister project that uses an older OSM-stack), use the v1 branch and pin your software to older release versions tag, you'll get a osmAuth global to use elsewhere in your scripts: &nbsp; Requires land.html to be accessible, or a page that does the same thing - calls an auth complete function - to be available. Support This project is tested in supported node versions and modern browsers. We attempt to use JavaScript syntax that will work in legacy environments like ES5 or Internet Explorer, but offer no guarantee that it will work. If you're targeting an environment like this, you're probably already building your own bundle with something like [Babel. Registering an application See: https://wiki.openstreetmap.org/wiki/OAuth#OAuth 2.0 2 Register a new OAuth2.0 application on openstreetmap.org: 1. Go to your user page 2. Click 'My Settings' 3. Click 'OAuth 2 applications' 4. At the bottom, 'Register new application' 5. Fill in the form (keeping the Confidenti","default_branch":null,"files":null,"tree":[],"storefront":"/r/osmlab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/osmlab/osm-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}