Answer the question
In order to leave comments, you need to log in
How to make friends between NodeJS and AngularJS?
Hello!
In general, there is a subject - to make authorization through steam.
On the server - nginx as a web server, NodeJS / ExpressJS - as a REST API.
On the client - AngularJS Single Page Application.
I configured the CORS policy on NodeJS so that you can call server methods from the client application. For routing I use ExpressJS.
I started to twist authorization through Steam - I started to swear at CORS.
I used steam-login for authorization .
Moreover, if you directly call the NodeJS server method for authorization from the browser, everything works fine.
What can be trouble?
Thank you)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question