Andrés Montoya

Results 17 comments of Andrés Montoya

Wow, thank you! I'm not in favor about sessions, I prefer to send the jwt token to the client, and the client will save it in a cookie, this is...

Great, I think passport-http-bearer is a nice option for this, I hope you can integrate, and if I'm now wrong, in the first comment, I passed an example using it

That's sad, in the case of auth with react.js for web and react native, it's common to see that the backend sends a token and the front end save it....

> @MontoyaAndres How would you approach the authentication? Do you want the user to enter the username and password inside your react native app? Or do you want to user...

Also, what I wrote, it's completely manual, I mean, you need to write everything from scratch, what I do not know is if this functionality exists in Passport.js, because I've...

So, is better to use any third party jwt service like (auth0, netlify identity, firebase auth) instead of implementing my own one?

Just checking the docs you can see, for example, auth0 uses something call "global authentication" like Google does, I mean, if you have: https://myappforgames.com/ https://myappforsports.com/ https://myappforshoping.com/ Those are the products...

Yeah, what I'm trying to say is better to implement JWT instead sessions, using services like Auth0, Firebase Auth or whatever, would increase your possibilities of using JWT, and these...