Skip to content

Commit

Permalink
fix(endpoint-auth): exclude client_id from introspection response
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Aug 25, 2024
1 parent ae9a209 commit 4d63f03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/endpoint-auth/lib/controllers/introspection.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const introspectionController = {
*/
post(request, response) {
try {
const { application } = request.app.locals;
let { token } = request.body;

if (!token) {
Expand All @@ -21,7 +20,6 @@ export const introspectionController = {
let accessToken = verifyToken(token);
accessToken = {
active: true,
client_id: application.url,
...accessToken,
};

Expand Down

0 comments on commit 4d63f03

Please sign in to comment.