org.oauth3.provider -> issuer@oauth3.org

This commit is contained in:
aj 2017-08-02 02:30:43 +00:00
parent dac7c3936f
commit ee631b97c7
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {