4

Is there any way to upgrade the Google Oauth token and secret obtained using OAuth 1.0 to OAuth2 access token?

My application is having around 800+ Google users and if each user needs to go through the whole OAuth process again, it will be painful for them.

Haven't seen any posts regarding this anywhere. Any help would be much appreciated as I have already moved my app to OAuth2 and need a way out for these users asap.

4

2 回答 2

5

最近,Google 为开发人员实施了一种迁移路径,可以将 OAuth1 授权迁移到 OAuth2 授权中。查看Google 的迁移文档

祝你好运!

于 2014-01-24T19:57:22.907 回答
-1

编辑:这不再是真的,请参阅 Miguel Andres 的回答

不,它们是两个完全不同的系统,因此无法将 OAuth 1.0 凭据交换为 OAuth 2.0 凭据。

通过一些工作,您可以让新用户通过 OAuth 2.0 流程并使用 OAuth 2.0 凭据,然后慢慢开始将老用户迁移到批量使用 2.0。

于 2012-09-20T14:26:20.510 回答