manual redirect_uri with callback

This commit is contained in:
AJ ONeal 2017-02-15 14:44:03 -07:00
parent 19084c88e0
commit aaa4e8f368
1 changed files with 4 additions and 0 deletions

View File

@ -339,6 +339,10 @@
, client_id: opts.client_id || opts.client_uri
, client_uri: opts.client_uri || opts.client_id
, state: state
, redirect_uri: opts.redirect_uri = OAUTH3.utils.url.resolve(
OAUTH3.utils.url.normalize(opts.client_uri || opts.client_id)
, '.well-known/oauth3/callback.html'
)
, debug: opts.debug
};
var uri = args.url;