<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">In the OAuth authentication you get the display name and ID of the OSM user, you can then use that OSM ID to mark the users contributions in your own db.<br><br><br><br>2. ágúst 2019 kl. 11:41, skrifaði "Nick Whitelegg" <<a target="_blank" tabindex="-1" href="mailto:nick.whitelegg@solent.ac.uk?to=%22Nick%20Whitelegg%22%20<nick.whitelegg@solent.ac.uk>">nick.whitelegg@solent.ac.uk</a>>:<br> <blockquote><div><div dir="ltr"> <div style="font-size: 12pt;color: #000000;font-family: Calibri,Helvetica,sans-serif" dir="ltr"><div> <div dir="ltr" style='color: rgb(0, 0, 0);font-family: Calibri, Arial, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;font-size: 12pt'>In the light of this discussion, and to follow up my original email, one thing I would want to do is associate uploaded panoramas with user IDs, for which I would need the OSM user details API. I would need this to only allow a given user to rotate or move their own panoramas, and not other users'. I presume this would be acceptable (if mentioned on an appropriate privacy policy)?</div> <div dir="ltr" style='color: rgb(0, 0, 0);font-family: Calibri, Arial, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;font-size: 12pt'></div> <div dir="ltr" style='color: rgb(0, 0, 0);font-family: Calibri, Arial, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;font-size: 12pt'>I tried to play around with Mapillary to see how they handle OSM authentication but I'm not sure whether it's working correctly- as when I am returned to Mapillary after authentication with OSM, I get the error "User does not exist".</div> <div dir="ltr" style='color: rgb(0, 0, 0);font-family: Calibri, Arial, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;font-size: 12pt'></div> <div dir="ltr" style='color: rgb(0, 0, 0);font-family: Calibri, Arial, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;font-size: 12pt'>Nick</div> </div></div> <hr style="display: inline-block;width: 98%" tabindex="-1"> <div dir="ltr"> <font face="Calibri, sans-serif" style="font-size: 11pt" color="#000000"><b>From:</b> Colin Smale <<a target="_blank" rel="noopener noreferrer" href="mailto:colin.smale@xs4all.nl">colin.smale@xs4all.nl</a>><br><b>Sent:</b> 02 August 2019 10:15:45<br><b>To:</b> <a target="_blank" rel="noopener noreferrer" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a> <<a target="_blank" rel="noopener noreferrer" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>>; Tigerfell <<a target="_blank" rel="noopener noreferrer" href="mailto:tigerfell-688@tuta.io">tigerfell-688@tuta.io</a>>; Jóhannes Birgir Jensson <<a target="_blank" rel="noopener noreferrer" href="mailto:joi@betra.is">joi@betra.is</a>><br><b>Cc:</b> dev Openstreetmap <<a target="_blank" rel="noopener noreferrer" href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a>><br><b>Subject:</b> Re: [OSM-dev] Use of OSM API for non-editing third party applications</font><div></div> </div> <div>Now you are confusing authentication with authorisation.<br> <div>On 2 August 2019 10:07:19 BST, Tigerfell <<a target="_blank" rel="noopener noreferrer" href="mailto:tigerfell-688@tuta.io">tigerfell-688@tuta.io</a>> wrote:<br> <blockquote style="margin: 0pt 0pt 0pt 0.8ex;border-left: 1px solid rgb(204,204,204);padding-left: 1ex"> <div style="">Not necessarily, the API calls</div> <div style="">user/details (<a rel="external nofollow noopener noreferrer" target="_blank" tabindex="-1" href="https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user">https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user</a>) and</div> <div style="">user/preferences (<a rel="external nofollow noopener noreferrer" target="_blank" tabindex="-1" href="https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user">https://wiki.openstreetmap.org/wiki/API_v0.6#Preferences_of_the_logged-in_user</a>) are used by some services to provide login and user organisation.</div> <div style=""></div> <div style="">Tigerfell</div> <div style=""></div> <div style="">Aug. 2, 2019, 2:14 a.m. by <a target="_blank" rel="noopener noreferrer" href="mailto:joi@betra.is">joi@betra.is</a>:</div> <blockquote style="border-left: 1px solid #93A3B8;padding-left: 10px;margin-left: 5px"><div style="font-family: arial,sans-serif;font-size: 13px"> <div style="">Hello Martin.</div> <div style=""></div> <div style="">I'm afraid you are confusing two different things.</div> <div style=""></div> <div style="">The relevant page for authentication is this one <a target="_blank" rel="external nofollow noopener noreferrer" tabindex="-1" href="https://wiki.openstreetmap.org/wiki/OAuth"> https://wiki.openstreetmap.org/wiki/OAuth</a> </div> <div style=""></div> <div style="">This is a totally different thing from the editing API.</div> <div style=""></div> <div style="">Cheers,</div> <div style="">Jói</div> <div style=""></div> <div style="">1. ágúst 2019 kl. 21:45, skrifaði "Martin Koppenhoefer" <<a rel="external nofollow noopener noreferrer" tabindex="-1" target="_blank" href="mailto:dieterdreist@gmail.com?to=%22Martin%20Koppenhoefer%22%20<dieterdreist@gmail.com>">dieterdreist@gmail.com</a>>:</div> <div style=""></div> <blockquote><div><div dir="auto"> <div dir="ltr">sent from a phone</div> <div dir="ltr"> <div style=""></div> <div style="">On 1. Aug 2019, at 16:21, Jóhannes Birgir Jensson <<a tabindex="-1" target="_blank" rel="external nofollow noopener noreferrer" href="mailto:joi@betra.is">joi@betra.is</a>> wrote:</div> </div> <blockquote type="cite"><div dir="ltr">I never read anything where it said that OSM-auth was only for editing. So I have worked on the assumption that the answer would be yes, you can piggyback.</div></blockquote> <div></div> <div>it’s written here:</div> <div><a tabindex="-1" target="_blank" rel="external nofollow noopener noreferrer" href="https://wiki.openstreetmap.org/wiki/API#Terms_of_use">https://wiki.openstreetmap.org/wiki/API#Terms_of_use</a></div> <div></div> <div></div> <div>Cheers Martin</div> </div></div></blockquote> <div style=""></div> </div></blockquote> <div style=""></div> </blockquote> </div> </div> </div></div></blockquote> <br><br><signature></signature> </div></body></html>