OpenID Connect提供程序列表 [英] List of OpenID Connect providers

查看:74
本文介绍了OpenID Connect提供程序列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OpenID Connect刚获得已批准.我知道这个问题已经在过去中提出,但是我正在寻找OpenID Connect的最新列表提供者.

OpenID Connect just got ratified. I know this question has been asked in the past but I'm looking for a current list of OpenID Connect providers.

我已经知道的

  • Google
  • PayPal
  • Amazon

推荐答案

我能够找到的唯一一个允许使用范围"openid"(据我所读的内容必不可少)以下内容,均提供了有关如何进行设置的详细步骤,我已经使用Java客户端进行了验证:

The only ones that I've been able to find that allow the use of the scope "openid" (which is supposedly required from what I've read) are the following, which both give detailed steps on how to set this up, which I've verified using a java client:

https://developer.salesforce.com/page/Inside_OpenID_Connect_on_Force.com

https://developers.google.com/accounts/docs/OAuth2Login#sendauthrequest

  • authorize url: https://openidconnect.ebay.com/oreo/authorize.jsp

令牌网址: https://openidconnect.ebay.com/oreo/token.jsp

userInfo网址: https://openidconnect.ebay.com/oreo/openidconnect/get-user -info.jsp

userInfo url: https://openidconnect.ebay.com/oreo/openidconnect/get-user-info.jsp

在此处注册客户端ID/秘密: https://openidconnect.ebay. com/oreo/start.jsp

register for a client id/secret here: https://openidconnect.ebay.com/oreo/start.jsp

注意:您需要在授权时传递"nonce"参数,但是nonce=test似乎可以正常工作.这是一个包含随机数的示例授权URL:

Note: You need to pass a "nonce" parameter when authorizing, but nonce=test seems to work fine. Here's a sample authorize url that includes a nonce:

https://openidconnect.ebay.com/oreo/authorize.jsp?nonce=test&client_id=YOUR_CLIENT_ID&response_type=code&scope=openid&redirect_uri=YOUR_REDIRECT_URL

所有相关信息均来自此博客文章

All info for this pulled from this blog post

注意:对于很多这些事情,您需要有一个公共URL进行测试-对于想要在构建它时对其进行调试的开发人员来说,这是一个痛苦.您可以编辑主机文件,以将某些公共域切换为指向您的本地计算机,因为重定向全部在浏览器中进行,并且是同步的.)

Note: For alot of these things, you need to have a public url to test against - which is a pain for developers that want to debug this as they're building it. You can edit your hosts file to switch some public domain to point to your local machine, since the redirects all happen in the browser, and are synchronous).

例如在您的主机文件中:

e.g. in your hosts file:

127.0.0.1 www.mytestsite.com

然后使用类似的代码作为回调URL,并在重定向到以下地址时加载您的开发服务器:

Then use something like so for your callback url, and it'll load your dev server when redirected to:

http://www.mytestsite.com/callback

这篇关于OpenID Connect提供程序列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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