zebedeeio / zbd-node

@zbd/node - NodeJS SDK for ZBD API
https://node.zbd.dev
MIT License
16 stars 5 forks source link

Create NextAuth.js Starter Kit with ZBD Login #3

Closed andrerfneves closed 1 year ago

andrerfneves commented 1 year ago

Tasks

Resources

andrerfneves commented 1 year ago

/bounty 30

algora-pbc[bot] commented 1 year ago

πŸ’Ž $30 bounty created by andrerfneves πŸ™‹ If you start working on this, comment /attempt #3 to notify everyone πŸ‘‰ To claim this bounty, submit a pull request that includes the text /claim #3 somewhere in its body πŸ“ Before proceeding, please make sure you can receive payouts in your country πŸ’΅ Payment arrives in your account 2-5 days after the bounty is rewarded πŸ’― You keep 100% of the bounty award πŸ™ Thank you for contributing to zebedeeio/zbd-node!

Attempt Started (GMT+0) Solution
πŸ”΄ @dylanrod21 Jul 21, 2023, 12:28:45 AM WIP
πŸ”΄ @rishi-raj-jain Aug 7, 2023, 8:40:59 PM WIP
dylanrod21 commented 1 year ago

/attempt #3

andrerfneves commented 1 year ago

Let me know if something isn’t clear @dylanrod21!

dylanrod21 commented 1 year ago

Hi, I spent a bit of time on this last night, I haven't setup a custom provider before with NextAuth.js and was running into a couple issues, Ill take another look later today after work. I just set the repo to public, all I did was copy the next-auth-example repo and make some changes to the auth route to begin setting up a custom provider for login. I've only setup google as a provider in the past so one thing that wasn't clear to me was where to get the clientId for zebedee.

https://github.com/dylanrod21/zebedee-nextauth-starter

andrerfneves commented 1 year ago

Sounds awesome @dylanrod21. Lmk if you need help/input. We have a few open source repo examples on using it with Passport for example.

rishi-raj-jain commented 1 year ago

@andrerfneves Can I work on this one?

andrerfneves commented 1 year ago

Seeing as @dylanrod21 hasn't given updates here in 2+ weeks, and no code has been pushed, I'm going to go ahead and say that YES @rishi-raj-jain pls take this one on πŸ˜ƒ

rishi-raj-jain commented 1 year ago

@andrerfneves

/attempt #3

Great!

Can you share some examples of the same?

Options
rishi-raj-jain commented 1 year ago

Also, as I see it, the clientID and clientSecret are two random variables set be the user, right? Somewhere I believe I saw dev and test mode for these two, can you help me with these two values?

rishi-raj-jain commented 1 year ago

@andrerfneves Did you get a chance to look at my comment?

algora-pbc[bot] commented 1 year ago

Note: The user @dylanrod21 is already attempting to complete issue #3 and claim the bounty. If you attempt to complete the same issue, there is a chance that @dylanrod21 will complete the issue first, and be awarded the bounty. We recommend discussing with @dylanrod21 and potentially collaborating on the same solution versus creating an alternate solution.

andrerfneves commented 1 year ago

@dylanrod21 has not pushed any code is over 3 weeks. @rishi-raj-jain this one is yours to take. Let me get you the creds necessary.

andrerfneves commented 1 year ago

@rishi-raj-jain best way would be to give you access to an account on the dashboard. What best way to contact you to send you an invite code? Followed you on Twitter so I can DM it to you but couldnt DM.

rishi-raj-jain commented 1 year ago

@andrerfneves I just Twitter DM'd you.

rishi-raj-jain commented 1 year ago

Hey @andrerfneves,

Would love to collaborate on this.

andrerfneves commented 1 year ago

Hey @rishi-raj-jain after we resolve the items for the API Docs, we can tackle this one. You can use the clientID and clientSecrets from this comment: https://github.com/zebedeeio/zbd-node/pull/6#issuecomment-1646909738 but lmk if you get blocked.

rishi-raj-jain commented 1 year ago

@andrerfneves

Do you have an example of pkce integration with those api keys?

andrerfneves commented 1 year ago

Hey @rishi-raj-jain check out these repos:

https://github.com/zebedeeio/passport-zebedee https://github.com/zebedeeio/login-zbd-react-native-example

rockingrohit9639 commented 1 year ago

@andrerfneves Is this issue still active ?

andrerfneves commented 1 year ago

Closing this in favor of a new bounty with a better setup

andrerfneves commented 1 year ago

@rockingrohit9639 https://github.com/zebedeeio/next-auth-zbd-starter/issues/1

rishi-raj-jain commented 1 year ago

@andrerfneves as you saw, I spent most of the time on it I'm working on it atm.

rishi-raj-jain commented 1 year ago

I request to assign the issue to me please!

andrerfneves commented 1 year ago

That's fine @rishi-raj-jain. Let's get this thing working and I'm happy to award this to you no problem.