April 5, 2021

Authentication in My Application [16/365]

I’ve been working on social authentication for a bit now for Requeme, and I had a hard time getting it implemented because I was not sure how to get it done correctly. I started with Google Sign-In, and my first idea was to get the JWT that I got from Google to do all authentication. I got it working, but I noticed a few issues with this approach. First, if I want to add an other auth provider, like Twitter or GitHub, then I would have a different token on the client side for all of them, which makes managing users harder. Read more

Copyright Marin Gilles 2019-2022