A
A
Altyn Bek2016-09-06 10:26:39
Node.js
Altyn Bek, 2016-09-06 10:26:39

How to organize cross-domain authorization with ExpressJs and PassportJs?

Good day! There is a project on Node with ExpressJs, PassportJs is screwed there for authorization.
The project is divided into several modules separated from each other. For example: data1.example.com, docs.example.com. While there is authorization for main.example.com. And so that, for example, admins could, if they were authorized in main.example.com, could simply go to the rest if they have access.
Help! I did not find anything in Offdock of the passport. Maybe I searched badly (sorry in advance).

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question