Using OpenID for both .NET/Windows and PHP/Linux/A

2019-08-01 14:55发布

问题:

Is it possible to use OpenID for both .NET web sites and PHP websites (Apache/Linux)?

I have a manager that wants single sign-on for access to any/all web sites, regardless of which web server hosts a web site.

I create .NET web apps and the PHP web sites/apps are done by another programmer.

How would I go about using OpenID for a .NET web app?

What about for the PHP programmer?

回答1:

For .NET: http://code.google.com/p/dotnetopenid/

For PHP: http://openidenabled.com/php-openid/



回答2:

You can use OpenID for all sites, regardless of platform. Use this for ease of login (it's javascript): https://www.idselector.com/

For your .NET sites, dotnetopenid works nicely. For PHP you can use the code from here: http://openidenabled.com/php-openid/

OpenID uses the URL to identify the site - not the technology.



回答3:

use the following library:

http://code.google.com/p/dotnetopenid