P
P
Pavel Tkachenko2018-11-03 18:16:29
Node.js
Pavel Tkachenko, 2018-11-03 18:16:29

ExpressJS and PassportJS how to do user authentication through mobile app?

The task is to write an API for a web and mobile application, the standard session module sends session data to the cookie. But, as far as I know, android and ios do not use cookies in applications. how to authenticate the user on the device?
MB due to lack of knowledge and experience, the question was not posed correctly ... I
use only authentication strategies through social networks (PasportJS)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2018-11-03
@ilyapashkov02

You can send a token in response to authorization, and already on the client decide where to store it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question