1
4 Comments

Any open source projects using Spring Security & OAuth2 for login ?

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.

on June 9, 2020
  1. 2

    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?

    1. 2

      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. 🙏

      1. 1

        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!

        1. 1

          Thanks a lot, such a legend.