2017-05-08 84 views

回答

0

看看Shopify提供者实现它具有相同的问题

https://github.com/oauth-io/oauthd/blob/master/providers/shopify/conf.json

我们增加了一个参数shop

"parameters": { 
    "shop": "string", 
    ... 
} 

设置API密钥时,此参数是OAuth.io配置:

enter image description here

和这个参数可以在URL中被重用:

`"url": "https://{shop}.myshopify.com",` 

随意做一个拉请求,如果你有Github上企业加入到OAuth提供者列表的时候了!