org.oauth3.provider -> issuer@oauth3.org
This commit is contained in:
parent
dac7c3936f
commit
ee631b97c7
|
@ -453,7 +453,7 @@ OAUTH3.requests.accounts = {};
|
|||
OAUTH3.requests.accounts.update = function (directive, session, opts) {
|
||||
var dir = directive.update_account || {
|
||||
method: 'POST'
|
||||
, url: OAUTH3.url.normalize(directive.api) + '/api/org.oauth3.provider/accounts/:accountId'
|
||||
, url: OAUTH3.url.normalize(directive.api) + '/api/issuer@oauth3.org/accounts/:accountId'
|
||||
, bearer: 'Bearer'
|
||||
};
|
||||
var url = dir.url
|
||||
|
@ -477,7 +477,7 @@ OAUTH3.requests.accounts.update = function (directive, session, opts) {
|
|||
OAUTH3.requests.accounts.create = function (directive, session, account) {
|
||||
var dir = directive.create_account || {
|
||||
method: 'POST'
|
||||
, url: OAUTH3.url.normalize(directive.api) + '/api/org.oauth3.provider/accounts'
|
||||
, url: OAUTH3.url.normalize(directive.api) + '/api/issuer@oauth3.org/accounts'
|
||||
, bearer: 'Bearer'
|
||||
};
|
||||
var data = {
|
||||
|
|
Loading…
Reference in New Issue