[openstreetmap/openstreetmap-website] Sign in to OSM with Google account for mobile (#1256)

Tom Hughes notifications at github.com
Mon Jul 25 10:15:37 UTC 2016

I'm confused - you say you're using OpenID but google no longer support OpenID and indeed the URL you quote appears to be using google's OAuth 2 authentication API instead.

I'm not sure what any of that has to do with our OAuth implementation though - that is completely separate. Are you saying that you are trying to mechanically log the user in via their google account and then authorise yourself to use our API as them by getting an OAuth token? If so then I hope you are allowing them to authorise that on our web site and not trying to do that automatically?

Everything you need to get an access token is available anyway, or nobody would be able to use OAuth and lots of applications do!

The best thing is probably to look at our tests (https://github.com/openstreetmap/openstreetmap-website/blob/master/test/integration/oauth_test.rb) which should be thoroughly testing all the supported OAuth flows and will show you what sequence of calls to make and parameters to provide.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160725/948bfa9f/attachment.html>

More information about the rails-dev mailing list