authentication - POST /token 400 (Bad Request) with ember-cli and ember-simple-auth -


I just set up the example using Cloud 9 and when I try to log in, I get 400 bad requests error Meets.

I am pretty sure that this is due to the fact that Cloud 9 only opens port 80 (as mentioned in this note:

Oeth 2.0 By default, the same domain is used in the form of authentication and to send an authentication request to the port that Ember.js is loaded by you instead of http: // localhost: 3000 There is a need to configure to use.

Unfortunately I do not know how I can work around it. Any thoughts?

host To whitelist in config:

  window.ENV ['simple-at'] = {crossover whitelist: ['http: //some.other.domain: 1234']} < More info in / code> 


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -