简体   繁体   English

如何为我的网站一实施OAuth并将其用于网站二

[英]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.

相关问题 是否可以为我自己的WebSite公开一个API…但是使用oAuth进行api身份验证? - Is it possible to expose an API for my own WebSite … but use oAuth for the api authentication? 我可以同时使用在我的 laravel 网站中创建的 oauth 2.0 客户端 ID 用于颤振应用程序吗? - Can i use my oauth 2.0 client id created in my laravel website for flutter app in simultaneously? 使用OAuth进行移动和使用我自己的API的网站的正确方法是什么? - What is the correct way to use OAuth for mobile and website consuming my own API? 如何从网站提供OAuth服务。 - How to provide OAuth services from website.? 如何使用Microsoft帐户对我的网站进行身份验证 - how can I use a Microsoft Account to authenticate to my website 我可以在我的网站上使用Teamspeak身份验证吗? - Is there a Teamspeak Authentication I can use for my Website? Oauth密码授予和客户端网站 - Oauth Password Grant and client website 如何授权用户(登录我的网站)使用我的firefox插件 - How do I authorize users (logged into my website) to use my firefox addon 如何在我的网站上阅读wordpress cookies? - How to read wordpress cookies in my website? 如何在网站应用程序上实现指纹登录认证 - How can I implement fingerprint login authentication on a website application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM