As I understand it, you need to do a sort of incremental migration.

The first time a legacy user logs in, you login via the User API (to get
their old id) - then log them in again under the new Oauth api.

It wont bother most users as they used to periodically having re grant
access to apps.

dont think you actully get a 'persistent' long term ID from OAuth 2 anyway,
just short term access tokens, so will have to create your own id (so may
as well use the old user-id as a the unique id) - although can get an email
to use for cross reference. (I suppose if they on G+ you can ask for
profile URL, which contains a unique id)


(note I havent actully done this migration yet, just looked into it.


On 14 October 2015 at 11:30, tempy <[email protected]> wrote:

> I have an app that makes extensive use of the Users API + OAuth1. I've
> been relying on the unique google identifiers produced by the Users API to
> identify my users. Switching to OAuth2 on it's own is not a problem, but I
> can't see a way in which Google-Auth-via-OAuth2 is integrated with GAE's
> Users API.
>
> As I understand it, Google is suggesting that migration basically involves
> using Google's open-to-all OAuth2 API, which has no special integration
> with GAE. Is this correct? If so, then the google ID's that this API will
> return will not match the ones that I had previously seen with
> UsersAPI+OAuth1, and the app is in trouble, those IDs are keyed to existing
> users.
>
> If this is not the case, then how do I go about using OAuth2 to get the
> same google IDs that I've been getting with the UsersAPI+OAuth1 in the past?
>
> Many thanks!
> mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/1153495a-82e2-4ab4-93ed-ca7a9756ff6d%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/1153495a-82e2-4ab4-93ed-ca7a9756ff6d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAJCAUuKyud9zYn-312rXTSLp%2BqS-eX1oRb2D6nYBiA%3DsrmGmdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to