Home:ALL Converter>User-less Authentication with React Native and API backend

User-less Authentication with React Native and API backend

Ask Time:2018-01-13T11:09:26         Author:Chen Doron

Json Formatter

I'm starting to build a React Native app after having finished my first implementation of a node.js backend.

I was recommended using passport.js for authentication.

I don't know too much about this entire subject, but I do know my needs:

  • I can't have any sessions/users
  • I'd like to create some type of handshake using the phone's UUID(?)
  • I want only my mobile app to be able to address the API (ideally) and for "outsiders" to either be ignored or receive a 403 (ideally ignore? - I'm asking :) )

How do I go about doing that?

Author:Chen Doron,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/48236590/user-less-authentication-with-react-native-and-api-backend
yy