Skip to content

Commit

Permalink
feat: add jwsreq Accept value to request_uri resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 14, 2019
1 parent 859ae00 commit cec4016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/helpers/request_uri_cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class RequestUriCache {
this.provider = provider;
}

// TODO: in v7.x remove this
async resolveUrn(requestUri) { // eslint-disable-line
throw new Error('resolving request_uri by URN is not implemented');
}
Expand All @@ -30,7 +31,7 @@ class RequestUriCache {
method: 'GET',
url: requestUri,
headers: {
Accept: 'application/jwt',
Accept: 'application/oauth.authz.req+jwt, application/jwt',
},
});

Expand Down

0 comments on commit cec4016

Please sign in to comment.