C
C
copal2015-12-08 14:35:43
PHP
copal, 2015-12-08 14:35:43

What is the most efficient way to login in an isomorphic spa application?

First of all, I want to draw your attention to the fact that I am interested in the principle of the authorization mechanism itself, and not the principle tied to any framework.
The architecture is as follows - nginx will sour requests to express.js, which is engaged in a pre-render, for which data is taken from api to php.
I am not very familiar with the web, so I would be glad if I could get a brief instruction on how best to implement authorization, logout and registration with such an architecture.
And if there are any tools for authorization, then tell us about them.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-12-08
@copal

JWT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question