Skip to content

Commit

Permalink
fix: correct scheme
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra committed Nov 7, 2024
1 parent 4f01878 commit 6551c1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export async function verifyResourceRequest(options: VerifyResourceRequestOption
throw new Oauth2ResourceUnauthorizedError(
`Error occured during verification of jwt profile access token: ${error.message}`,
{
scheme: SupportedAuthenticationScheme.Bearer,
scheme,
error: Oauth2ErrorCodes.InvalidToken,
error_description: errorMessage,
}
Expand Down

0 comments on commit 6551c1d

Please sign in to comment.