Skip to content

Commit

Permalink
spelling correction
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitystorm committed Apr 24, 2012
1 parent 4354ace commit f202136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -51,7 +51,7 @@ Modification of data is supported too. According to the OSM license every modifi
api.save(node, changeset)
api.close_changeset(changeset)

Yeah, i can hear you sayin: 'Seriously, do i have to provide username and password? Is that secure?' Providing username and password is prone to some security issues, especially because the OSM API does not provide an SSL service. But wait, there is some more in store for you: [OAuth](http://oauth.net/) It's much more secure for the user and your OSM app. But it comes with a price: You have to register an application on http://www.openstreetmap.org. After you have your app registered you get an app key and secret. Keep it in a save place.
Yeah, i can hear you sayin: 'Seriously, do i have to provide username and password? Is that secure?' Providing username and password is prone to some security issues, especially because the OSM API does not provide an SSL service. But wait, there is some more in store for you: [OAuth](http://oauth.net/) It's much more secure for the user and your OSM app. But it comes with a price: You have to register an application on http://www.openstreetmap.org. After you have your app registered you get an app key and secret. Keep it in a safe place.

consumer = OAuth::Consumer.new( 'osm_app_key', 'osm_app_secret',
:site => 'http://www.openstreetmap.org')
Expand Down

0 comments on commit f202136

Please sign in to comment.