[英]How to implement OAuth for my website one and use it for website two
I want to implement OAuth/OpenID for Website One and use it in Website Two . 我想为网站一实现OAuth / OpenID,并在网站二中使用它。
I create Sign Up, Sign In, Sign Out, Profile functionality/Pages for Website One and want to use authentication in Website Two like Facebook or Twitter authentication. 我为网站一创建了注册,登录,登出,配置文件功能/页面,并希望在网站二中使用身份验证,例如Facebook或Twitter身份验证。
As an additional information if you got interest you can visit trial websites of Website One and Website Two . 作为其他信息,如果您有兴趣,可以访问网站一和网站二的试用网站。 Please do not expect full or correct functionality because as I said above they are just trials yet.
请不要指望完整或正确的功能,因为如上所述,它们只是试验而已。
PS I decided to use OAuth. PS我决定使用OAuth。 Forget about OpenID.
忘了OpenID。
I had a look at your sites. 我看了你的网站。 It's not working this way.
它不是这样工作的。
You want STOZE to use the authentication from TIKSN? 您要STOZE使用TIKSN的身份验证吗? Well, you have to configure STOZE as an "oAuth resource server", so it keeps the protected resources, and configured to work only with token he gets from TIKSN, which will be configured as an "oAuth identity provider".
好吧,您必须将STOZE配置为“ oAuth资源服务器”,以便保留受保护的资源,并配置为仅与他从TIKSN获得的令牌一起使用,该令牌将被配置为“ oAuth身份提供程序”。
Read a little bit about oAuth... 阅读一些有关oAuth的信息...
OpenID is a different story - then, you will have to configure TIKSN as "OpenID provider", and configure STOZE to enable it to work with OpenID providers (so TIKSN will be one of them, but you will be able to use also Google, Yahoo, etc) OpenID是另一回事-然后,您必须将TIKSN配置为“ OpenID提供程序”,并配置STOZE以使其能够与OpenID提供程序一起使用(因此TIKSN将是其中之一,但您也可以使用Google,雅虎等)
Read a little bit about OpenID... 阅读有关OpenID的知识...
HTH 高温超导
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.