可以使用外部数据库存储用户数据吗?Shopify的登录凭证? [英] Is It Possible To Use An External Database For User Data & Login Credentials With Shopify?

查看:105
本文介绍了可以使用外部数据库存储用户数据吗?Shopify的登录凭证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的客户要求我们建立一个Shopify网站,该网站与其内部客户数据库(使用或不使用Salesforce)相关联.这有可能吗?Shopify是否支持任何跨站点数据库查询方法?

Our client has asked us to build a Shopify site that ties into their in-house customer db (with or without using Salesforce). Is this even possible? Does Shopify support any method of cross-site database querying?

我唯一想到的是通过简单的只读迷你DB查询API在其内部服务器上编写一个Webhook.但是,由于我不太熟悉Shopify的更晦涩的功能(并且已经花了很多时间筛选他们的文档并对此事进行Google搜索,结果绝对为零),我什至不确定这是否可能

The only thing I can think of to accomplish this is to write a webhook on their in-house server with a simple read-only mini DB query API. However, as that I'm not super familiar with Shopify's more obscure capabilities (and having already spent quite some time sifting through their docs and running google searches on the matter with absolutely zero results), I'm not even sure if this is possible.

我们是在吠叫一棵不可能的树吗,还是实际上可以完成的事情?

Are we barking up an impossible tree, or is this something that can actually be accomplished?

在此先感谢您提供的帮助.

Thank you in advance for any help you can give.

推荐答案

我从您的描述中了解到,您已经拥有一个包含用户登录详细信息的外部数据库,并且您希望在Shopify中使用该数据库进行身份验证.如果是,则可以使用Shopify Multipass功能.此功能仅适用于Shopify Plus计划.从 Shopify多阶段文档

What I have understood from your description is you already have an external database with user login details and you want to use the same for authentication in Shopify. If yes, then it is possible with Shopify Multipass feature. This feature is only available for Shopify Plus plans. From the Shopify Multipass docs

Multipass登录适用于拥有单独网站并拥有独立网站的商店所有者Shopify商店.它将用户从网站重定向到Shopify存储并使用相同的电子邮件地址无缝登录用于注册原始网站.如果没有那个电子邮件地址已存在,已创建一个.没有必要同步所有客户数据库.

Multipass login is for store owners who have a separate website and a Shopify store. It redirects users from the website to the Shopify store and seamlessly logs them in with the same email address they used to sign up for the original website. If no account with that email address exists yet, one is created. There is no need to synchronize any customer databases.

对于您的特定情况,您将必须使用外部数据库验证用户凭据,生成 multipass url 并重定向.

For your particular scenario, you would have to validate user credentials with your external database, generate multipass url and redirect.

这篇关于可以使用外部数据库存储用户数据吗?Shopify的登录凭证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆