D
D
dissdoc2014-12-01 16:10:35
Node.js
dissdoc, 2014-12-01 16:10:35

How to authenticate between NodeJS and Spring Security?

Hello!
There is a problem. SpringSecurity has already written user authentication with all the solutions that follow from this: saving the session, cookies, etc.
The question is, how to use security with NodeJS?
Those. I log in on the client, the request is sent to Node.js, synchronized / proxied to Spring , data is retrieved from there, we return to Node.js and already decide what to do with it.
PS Spring has already implemented REST, will it be normal if you can check the user on request, if 401 is returned, then the user is not logged in?
How to proxy session/authentication?

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