如何使用OAuth2 / OpenID连接UserService? [英] How to use OAuth2 / OpenID Connect with UserService?

查看:266
本文介绍了如何使用OAuth2 / OpenID连接UserService?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google App Engine上运行了多个应用程序。我正在使用UserService进行身份验证,以便能够代表用户等发送电子邮件以及用于API授权的OAuth2。

I'm running several apps on Google App Engine. I am using the UserService for Authentication to be able to send emails on behalf of the user etc. and OAuth2 for API authorization.

我正在尝试发布应用程序Google Apps Marketplace,但我收到一封电子邮件,告诉我需要使用OAuth2进行身份验证。

I am now trying to publish the apps on the Google Apps Marketplace, but I received an email telling me it is required to use OAuth2 for authentication.

因为我只使用支持的Google堆栈,所以我认为有一个方式来满足在Google Apps Marketplace上发布我的应用程序的要求,但现在我被卡住了。

As I am just using the supported Google stack I assume there is a way to meet the requirements for publishing my apps on the Google Apps Marketplace but right now I'm stuck.

推荐答案

另一个问题。面临的挑战是用户服务仍在使用OpenID。您需要使用客户端库来认证用户。

This is similar to another question. The challenge is that the User service is using still using OpenID. You'll need to use a Client library to authenticate the user.

以下是 Python & Java

这篇关于如何使用OAuth2 / OpenID连接UserService?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆