Hey indie hackers. I am working on a project of mine and i'm using Spring for the backend.
I'm looking for an open source project using Spring and OAuth2 for social media login. I want to get a look at how it's done because it's my first time.
I'm sorry, I don't know of any "Passport.js"-type libs that plug directly into Spring. But I am quite curious about your goal.. is there a reason you want to use OAuth2 and social logins over just a password or passwordless authentication flow?
Yes there is a reason, my product is related to instagram, what i want to do it to give the user the ability to login with their Instagram account, i want usernames in my product to match the ones in instagram. I just want instagram to provide the authentication, verify that the user is who they say they are, and give me back their username. I would eventually handle authorization using JWT.
Do you have any experience with this in Node. is it doable in Passport.js ?
and thank you for your response. 🙏
Ah that totally makes sense! Yeah you should definitely be able to do this with Passport.js and Node. I also just realized Firebase Auth lists Java as a supported language, but I'm not sure how well they integrate directly into Spring.
Good luck!
Thanks a lot, such a legend.