Replies: 5 comments 6 replies
-
Are there any news about this? |
Beta Was this translation helpful? Give feedback.
-
Something like this won't work? providers: [
{
id: 'shopify',
name: 'Shopify',
type: 'oauth',
version: '2.0',
scope: "write_orders,read_customers",
params: { grant_type: 'authorization_code' },
accessTokenUrl: 'https://{yourShop}.myshopify.com/admin/oauth/access_token',
authorizationUrl: 'https://{yourShop}.myshopify.com/admin/oauth/authorize',
profileUrl: 'https://{yourShop}.myshopify.com/admin/api/2021-04/users/current.json',
async profile(profile) {
return {
id: profile.id,
name: `${profile.first_name} ${profile.last_name}`,
email: profile.email
}
},
clientId: process.env.SHOPIFY_CLIENT_ID,
clientSecret: process.env.SHOPIFY_CLIENT_SECRET,
},
] |
Beta Was this translation helpful? Give feedback.
-
Did anyone ever get this working? I'm having trouble getting the pre and post install checks against HMAC, nonce etc. and keep getting oauth callback and TLS check errors. |
Beta Was this translation helpful? Give feedback.
-
Is this possible or not? Seems to me Shopify has overcomplicated the way it should be handleling an OAuth authentication. |
Beta Was this translation helpful? Give feedback.
-
another with the same problem |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Your question
I'm having issue getting this linked up with Shopify as a custom provider. Does anyone have any examples using Shopify or an authorization code flow with custom provider like Shopify?
What are you trying to do
Setup Next-Auth with a public Shopify App.
Feedback
Documentation refers to searching through online documentation, code comments and issue history. The example project refers to next-auth-example.
Beta Was this translation helpful? Give feedback.
All reactions