L
L
lexdevel2015-06-23 13:13:02
JavaScript
lexdevel, 2015-06-23 13:13:02

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

1 answer(s)
M
Mikhail Osher, 2015-06-23
@miraage

AngularJS : Cross-Origin Request Blocked: The Same...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question