【发布时间】:2014-07-31 21:19:00
【问题描述】:
我刚刚使用 Cloud9 从https://github.com/simplabs/ember-cli-simple-auth-example 设置了示例,当我尝试登录时收到 400 Bad Request 错误。
我很确定这是因为 Cloud9 仅打开端口 80(如 http://log.simplabs.com/post/90339547725/using-ember-simple-auth-with-ember-cli 的此注释中所引用:
因为 OAuth 2.0 身份验证器默认使用相同的域 和端口将身份验证请求发送到 Ember.js 所在的位置 从您加载需要将其配置为使用
http://localhost:3000而是。
不幸的是,我不知道如何解决这个问题。有什么想法吗?
【问题讨论】:
标签: authentication ember.js ember-cli