Skip to content

Commit 53d6eae

Browse files
fix(endpoint-auth): exclude client_id from introspection response
1 parent 4721836 commit 53d6eae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/endpoint-auth/lib/controllers/introspection.js

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const introspectionController = {
1010
*/
1111
post(request, response) {
1212
try {
13-
const { application } = request.app.locals;
1413
let { token } = request.body;
1514

1615
if (!token) {
@@ -21,7 +20,6 @@ export const introspectionController = {
2120
let accessToken = verifyToken(token);
2221
accessToken = {
2322
active: true,
24-
client_id: application.url,
2523
...accessToken,
2624
};
2725

0 commit comments

Comments
 (0)