openid

php-openID doesn't work with Yahoo

纵然是瞬间 提交于 2019-11-27 06:04:08
问题 i am trying to use php-openid library for implementing openID in my site. the basic consumer example inside its package doesn't work for Google and Yahoo. i found the Google solution here: Example usage of AX in PHP OpenID but it doesn't still work for Yahoo! . how can i made it works? 回答1: wow it is solved now !!!!! i traced the functions and found the problem.and that is.... in "try_auth.php" file i used "$attribute[] = Auth_OpenID_AX_AttrInfo::make('http://axschema.org/contact/email',2,1,

How does OpenID authentication work?

余生颓废 提交于 2019-11-27 05:59:02
I am a little curious to know about how OpenID authentication works. Is there any difference between OpenID authentication and the authentication which sites use exclusively for themselves? Patrick Desjardins What is OpenID? OpenID is an open, decentralized , free framework for user-centric digital identity. OpenID takes advantage of already existing internet technology (URI, HTTP, SSL, Diffie-Hellman) and realizes that people are already creating identities for themselves whether it be at their blog, photostream, profile page, etc. With OpenID you can easily transform one of these existing

How to add Social login services from Google, Facebook, Yahoo etc. to my website?

情到浓时终转凉″ 提交于 2019-11-27 04:59:51
问题 I want to add the following buttons to my website for providing users with option to login using more services like Google, Facebook etc. Please answer the following questions: How can I add various services like this free of cost ? (Please note that I do not want to use any paid service like Janrain and ) How can I store user information of the user (like email, phone no.) that are stored in the accounts to my database? Please provide any links/libraries that can be used. I appreciate any

OpenID vs. OAuth [duplicate]

亡梦爱人 提交于 2019-11-27 04:09:19
问题 Possible Duplicate: What's the difference between OpenID and OAuth? What is really the difference between OpenID and oAuth? They look just the same to me. I should clarify, I'm planning to use them in drupal, if that makes any difference. So I guess I'm bound by whatever module implementations are available in drupal. 回答1: If you have an account (with some private resources) in a website, you can log in with username/password couple. If an application would like to get some private resources

How to get Uri.EscapeDataString to comply with RFC 3986

二次信任 提交于 2019-11-27 03:57:17
The Uri class defaults to RFC 2396. For OpenID and OAuth, I need Uri escaping consistent with RFC 3986. From the System.Uri class documentation : By default, any reserved characters in the URI are escaped in accordance with RFC 2396. This behavior changes if International Resource Identifiers or International Domain Name parsing is enabled in which case reserved characters in the URI are escaped in accordance with RFC 3986 and RFC 3987. The documentation also states that activating this IRI mode and thus the RFC 3986 behavior means adding a uri section element to machine.config and this to

Migrating Google OpenID to OpenID Connect: openid_id does not match

无人久伴 提交于 2019-11-27 03:33:37
问题 I have begun the process of Migrating from Google OpenID to the OpenID Connect with OAuth 2.0 following what is presented in the Documentation. I am able successfully complete the workflow of retrieving the openid_id and sub inside the id_token from the token endpoint, but when I do, the openid_id does not match the existing identifier we have in our system. Preventing me from mapping the existing user to the new ID and preventing the user from logging into our application (or possibly being

Changing the action of a form with JavaScript/jQuery

一世执手 提交于 2019-11-27 03:06:20
I'm having an issue that is driving me crazy. I'm trying to modify the openid-selector to support facebook. I'm using RPXNow as my provider so it requires the form to be submitted to a different url than the standard. For example. RpxNow requires me to setup my form like this: <form action="https://wikipediamaze.rpxnow.com/openid/start?token_url=..."> This works for every provider except for Facebook and Myspace. Those require the form to be posted to a different url like this: <form action="https://wikipediamaze.rpxnow.com/facebook/start?token_url=..."> and <form action="https://wikipediamaze

Securing my REST API with OAuth while still allowing authentication via third party OAuth providers (using DotNetOpenAuth)

笑着哭i 提交于 2019-11-27 02:28:58
I have a product with a straightforward REST API so that users of the product can directly integrate with the product's features without using my web user interface. Recently I have been getting interest from various third parties about integrating their desktop clients with the API to allow users of my product to access their data using that third party application. I've seen that applications that want to use Twitter authenticate using a login page hosted by Twitter that grants a specific application permission to access that user's data. You click the "Allow" or "Deny" button and the

REST API for website which uses Facebook for authentication

末鹿安然 提交于 2019-11-27 02:22:35
We have a website where the only way to login and authenticate yourself with the site is with Facebook (this was not my choice). The first time you login with Facebook, an account gets automatically created for you. We now want to create an iPhone application for our site and also a public API for others to use our service. This question is about how to authenticate with our website from the app/API and is broken into 2 parts: What is the correct way to handle REST authentication from an API to a website which only uses Facebook OAuth as an authentication method? I have read and researched a

OAuth 2 access_token vs OpenId Connect id_token

主宰稳场 提交于 2019-11-27 02:10:34
问题 Although I have worked with OAuth 2 before, I am a newbie to Open ID Connect. Reading the tutorials and documentations I have come across both access_token and id_token where access_token is the random unique string generated according to OAuth 2 and id_token is JSON Web Token which contains information like the id of the user, algorithm, issuer and various other info which can be used to validate it. I have also seen API providers who provide both the access_token and id_token and as far as