On Tue, 12 Mar 2013, Sazal Sthapit wrote: > I am writing an app which allows users to submit values to pre-defined > keys. But in order to make these edits by the user's own name, I first need > to check if s/he has entered valid username/password combination. And I > want to check it against the OSM user database. What is the easiest way to > do it? And I'm using php for that
You should *not* be asking for their username and password, but instead use the OAuth service: http://wiki.openstreetmap.org/wiki/Oauth >From PHP, you would use the oauth pecl extension (http://pecl.php.net/package/oauth) to do the necessary work. cheers, Derick _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

