I am upgrading node-oauth2-server from previous version (v 2) to this implementation. In order for this implementation to work with the existing simple-ember-auth (which worked with v2 of the node-oauth2-server), I am putting this on the server side
...
var request = new Request(req);
request.body.response_type = 'code';
request.body.client_id = 'MY CLIENT';
request.body.state = 'MY STATE';
request.body.redirect_uri = 'MY REDIRECT URL';
var response = new Response(res);
return oauth.authorize(request, response).then(function(success) {
...
Could you suggest where am I supposed to set the response_type, client_id, state and redirect_url in ember-simple-auth?
I am upgrading node-oauth2-server from previous version (v 2) to this implementation. In order for this implementation to work with the existing simple-ember-auth (which worked with v2 of the node-oauth2-server), I am putting this on the server side
Could you suggest where am I supposed to set the response_type, client_id, state and redirect_url in ember-simple-auth?
Thanks.