Did anyone ever use Supertokens auth for building a Shopify app? Let’s say I have protected Next.js ...
r
Did anyone ever use Supertokens auth for building a Shopify app? Let’s say I have protected Next.js API routes and I want to use this inside a Shopify app
r
Hey! We have had that before, but it was a long time ago. Can you elaborate on how shopify expects this to happen? Maybe I can give in my thoughts
r
Yes I just saw the previous thread. Well, just knowing that someone managed to solve the issue, and knowing there is header-based auth, is actually already enough. I think ill be back when the time comes. Also, now Supertokens is an “oAuth provider” right? (Compared to dec. 2022)
r
We aren’t an OAuth provider yet. It’s the next feature we will work on right after December
r
Right! I don't need it right now, but might need it probably around 2024 or beyond. Knowing that it's coming already conforms me enough 🙌
r
sounds good!
r
How is this going?
r
Hey!
Just started working on it in this month. Things had gotten delayed cause of our MFA release
r
Good to know! What can we expect from this with like https://shopify.dev/docs/apps/auth/get-access-tokens/authorization-code-grant. Would it be much easier?
r
Yup! It would just work out of the box.
Since we would be an oath provider!
Oauth*
r
Jezus thats genius. Whats your ETA of this?
r
Couple of months
Maybe June
Or July
r
Okay good to know!
Is it possible to book a call when this time approaches?
r
Yea sure. At that time, you can book a call via our website
r
Last question, does that means that any of these list will work out of the box, regardless whether 1.0 or 2.0? https://en.wikipedia.org/wiki/List_of_OAuth_providers#cite_note-13
Like what I actually want is to authenticate my users for multiple marketplaces. So it shouldnt be 'just signing in with Apple', but it should be managing multiple authentication for multiple platforms for being a third party api service
This is what Clerk told me: "I don't think so unfortunately - Clerk is a product that allows user to authenticate to log into applications, not for managing moving data between different third party services."
Does Supertokens differ for this use case?
r
thats already there. you can add multiple oauth login methods to supertokens today
r
Like it would just be: > 1. Users logs in with passwordless login > 2. Goes to his/her settings: connects Shopify Oauth 2.0, connects Ebay, connects Etsy O Auth 1.0 > 3. Supertokens manages tokens for these platforms This is already there?
r
ah right. Yea, so the "connect to Shopify Oauth 2.0, connects Ebay, connects Etsy O Auth 1.0" is already there today. However, we do not manage the tokens on your behalf. Thats in our roadmap, but we don't plan on executing on that in the coming months
r
Okay, how is this feature called on the roadmap? And what is the solution currently to achieve this?
r
have a look at this demo app: https://github.com/supertokens/supertokens-auth-react/tree/master/examples/with-account-linking for how to implement connect with X provider
as per managing tokens, we give you the tokens on connecting with a provider, but, we how you save and refresh them is up to you
r
And this can then also do custom providers? How difficult would this be to implement and do you guys offer consultancy on this or can recommend freelancers?
r
> And this can then also do custom providers? Yes. We offer consultancy only if you are using any of our paid features at a "good volume".
12 Views