简体   繁体   English

我可以将Shopify平台用作身份提供商吗?

[英]Can I use the Shopify platform as an identity provider?

I'm curious as to whether or not there's a way to use an authenticated Shopify user's web session to delegate authentication to a custom Shopify application? 我很好奇是否可以使用经过身份验证的Shopify用户的Web会话将身份验证委派给自定义Shopify应用程序吗? The behavior I'm looking for would be analogous to OpenID where Shopify acts as the OpenID provider and my custom application acts as the relying party. 我要寻找的行为类似于OpenID,其中Shopify充当OpenID提供程序,我的自定义应用程序充当依赖方。

You can't use customer accounts as an identity provider unfortunately. 不幸的是,您不能将客户帐户用作身份提供者。

What you can do is have them log into your app using the same email as they're using on your site and then pull all their info using the email as the key (assuming you do proper registration activation against said email to confirm ownership) 您可以做的是让他们使用与您在网站上使用的相同的电子邮件登录到您的应用程序,然后使用该电子邮件作为密钥提取所有信息(假设您针对该电子邮件进行了正确的注册激活以确认所有权)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM