openid

OpenID authentication and API access

自古美人都是妖i 提交于 2019-11-28 20:39:29
OpenID authentication is inherently browser based. If I wanted to allow an OpenID user to authenticate against an API for use in alternative clients, is there an accepted best practice for that? So if a user tried to log in with their OpenID into an iPhone app, for instance, how would that work? The only thing I can think of generating an API token of some sort for them and get the user to manually enter it somewhere. This approach is not user friendly. This is the way sites like Basecamp work, but it still seems clunky to me. Andrew Arnott The problem you're seeing is not unique to OpenID.

微信接口错误整理

两盒软妹~` 提交于 2019-11-28 20:04:56
自己开发中调用微信接口遇到的错误整理: 1、errcode=40003, errmsg=invalid openid hint: [Nigp.a02804125] 无效的 OpenID ,首先确认 OpenID (该用户)是否已关注公众号,或是否是其他公众号的 OpenID,如果关注多个公众号可以在自己开发系统内,让测试用户重新授权存入 OpenID 在继续测试。 2、errcode=40037, errmsg=invalid template_id hint: [GPG3vA0280shb1] 无效的模板 id ,到公众号后台查看使用的模板 id 是否有问题,在根据接口文档排查自己代码问题,如果没有发现自己代码问题,直接新建一个模板重新测试,另外配置的公众号的 AppSecret 和 AppID 要和模板 id 是一个公众号,防止测试公众号和其它公众号配置错误。 发送模板消息接口文档 3、errcode=40001, errmsg:invalid credential, access_token is invalid or not latest hint: [YgyfWa07871703] 调用接口获取 access_token 时候出现错误,排查配置公众号的 AppSecret 和 AppID 是否错误,在根据日志分析代码问题。 获取 access_token 接口文档

Login with Google account in CodeIgniter with OpenID

烂漫一生 提交于 2019-11-28 19:43:29
I want to implement a login with a Google account using OpenID, but I have no idea how to start this procedure because I have no idea about how to do it. So is there any step by step guides for this so that I can easily implement a Google account login with CodeIgniter in PHP. I've found only this but I cant understand it properly so is there any guides or any libraries to login with a Google account? Madan Sapkota Download LightOpenID . Create the login.php file, and paste the following code into the file. <?php require_once 'openid.php'; $openid = new LightOpenID("my-domain.com"); if (

How to use OpenID providers with unique identifier URLs in ASP.NET MVC4

北战南征 提交于 2019-11-28 18:57:28
The new SimpleMembershipProvider implemented in ASP.NET MVC4 allows easy, built-in support for two popular OpenID providers (Google and Yahoo) and three OAuth providers (Microsoft, Facebook, Twitter). The providers implemented in DotNetOpenAuth.AspNet.Clients for use with the SimpleMembershipProvider all use static URLs for their identity services --- that is, all users use the same well-known URL to access the provider. The users' OpenID identifiers are separate from the URL used to access the identity service. For example, Google's OpenID service URL is https://www.google.com/accounts/o8/id

PHP OpenID Library that allows facebook / openid / twitter, etc;

◇◆丶佛笑我妖孽 提交于 2019-11-28 18:54:20
I am looking for an already completed openid login library that I can just 'plug' into my application and allow for access using any of the openid, facebook, twitter, methods that you would see on many well accessible websites. An example would be Woot.com's login: https://account.woot.com/login?returnurl=http%3a%2f%2fwoot.com%2fdefault.aspx I would like one that I don't have to spend lots of time on, as I would like this accessibility for my users but I do not wish to sacrifice a large portion of my development tinkering with it, or working out bugs with facebook working, and not twitter, etc

Changed domain error - OpenId auth request contains an unregistered domain

Deadly 提交于 2019-11-28 18:16:12
I set up a project on my main domain example.com and then moved it to a subdomain sub.example.com Now when I try to use the same (default ASP.NET MVC or on my Discourse forum) project with OpenId and click on the Google button to log in with my Google account it throws the following error - That’s an error. OpenID auth request contains an unregistered domain: http://sub.example.com I have tried Googling that message but apparently I am one of the first four people to see it. Any ideas here? Altryne According to this page , Google closed registration to new OpenID 2.0 clients in May 2014 and

To OpenID or not to OpenID? Is it worth it?

こ雲淡風輕ζ 提交于 2019-11-28 16:43:35
Does OpenID improve the user experience? Edit Not to detract from the other comments, but I got one really good reply below that outlined 3 advantages of OpenID in a rational bottom line kind of way. I've also heard some whisperings in other comments that you can get access to some details on the user through OpenID (name? email? what?) and that using that it might even be able to simplify the registration process by not needing to gather as much information. Things that definitely need to be gathered in a checkout process: Full name Email (I'm pretty sure I'll have to ask for these myself)

Simple Facebook Connect Demo in ASP.NET

安稳与你 提交于 2019-11-28 16:33:00
问题 Does anyone have a simple and successful demo implementation of facebook connect in an asp.net application. I am developing an asp.net web application and want facebook connect to be the primary method for logging in. 回答1: I was having troubles as well, but found that this stackoverflow question got me on the right track as far as the server side stuff is concerned However, First you have to get the facebook connect button working from here Facebook Wiki Then detect if they are logged in or

What is a good openid selector control?

此生再无相见时 提交于 2019-11-28 16:32:21
问题 Now that idselector has been upgraded to RPXNow and you can't "just use" the selector code, what is a good replacement? I want to implement OpenId on a new website that I am using, but the users are going to be just dumb when it comes to logging in unless I provide an easy way for them to. As a reference, I will be using .Net Open Id for the background in an ASP.Net MVC web application. EDIT After some cheap thought, what about using the rpxlib? 回答1: Jarrett Vance made a "version" of open

IdentityServer4中文文档

不羁的心 提交于 2019-11-28 16:30:45
欢迎IdentityServer4 IdentityServer4是ASP.NET Core 2的OpenID Connect和OAuth 2.0框架。 它在您的应用程序中启用以下功能: 认证即服务 适用于所有应用程序(Web,本机,移动设备,服务)的集中登录逻辑和工作流程。IdentityServer是OpenID Connect 的官方 认证 实现。 单点登录/注销 在多种应用程序类型上单点登录(和退出)。 API的访问控制 为各种类型的客户端发出API访问令牌,例如服务器到服务器,Web应用程序,SPA和本机/移动应用程序。 联合网关 支持Azure Active Directory,Google,Facebook等外部身份提供商。这可以保护您的应用程序免受如何连接到这些外部提供商的详细信息的影响。 专注于定制 最重要的部分 - IdentityServer的许多方面都可以根据 您的 需求进行定制。由于IdentityServer是一个框架而不是盒装产品或SaaS,因此您可以编写代码以使系统适应您的方案。 成熟的开源 IdentityServer使用允许的 Apache 2 许可证,允许在其上构建商业产品。它也是 .NET Foundation的 一部分,它提供治理和法律支持。 免费和商业支持 如果您需要帮助构建或运行您的身份平台,请 告知我们