Login problems & CORS

Added by Panu over 6 years ago

Hi,

I'm doing angularjs app which uses nordnet API. I cannot access API directly from my angular app because my app is in a different domain. I have setup a nodejs cors proxy "cors-anywhere" to forward calls from my domain to nordnet API.

When i'm calling login method I receive a following web page as a response:
<h1>Template is missing</h1>
<p>Missing template login/create, application/create with {:handlers=>[:builder, :erb, :coffee], :formats=>[:html], :locale=>[:en]}. Searched in: * "/opt/nExt/rest_server/app/views"
</p>

Any tips which could case this error?


Replies (2)

RE: Login problems & CORS - Added by Panu over 6 years ago

I had address problem on query which solved issue.

Does my accounts have position automatically and if not, how i could get some?

RE: Login problems & CORS - Added by Panu over 6 years ago

Could someone kindly clarify accounts default positions for me. Do i need to create my own client and do purchases to get some position into my accounts, or could someone do a few purchases into my account for a test data?

(1-2/2)