Skip to content

feat: token introspection add client credentials auth #555

feat: token introspection add client credentials auth

feat: token introspection add client credentials auth #555

Triggered via pull request August 7, 2024 02:09
Status Failure
Total duration 3m 52s
Artifacts

build-and-test.yml

on: pull_request
check_versions
2s
check_versions
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
test/e2e/authorization_server.spec.ts > authorization_server > #introspect > with invalid auth > throws when missing grant_type: test/e2e/authorization_server.spec.ts#L376
AssertionError: expected [Function] to throw error matching /unsupported grant_type/i but got 'The request is missing a required par…' - Expected: /unsupported grant_type/i + Received: "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed: Missing `token` parameter in request body" ❯ test/e2e/authorization_server.spec.ts:376:9
test/e2e/adapters/fastify.spec.ts > Fastify OAuth Utilities > handleFastifyError > should handle OAuthException: test/e2e/adapters/fastify.spec.ts#L46
AssertionError: expected "spy" to be called with arguments: [ { status: 400, …(1) } ] Received: 1st spy call: Array [ Object { + "error": "server_error", + "error_description": "Test error", "message": "Test error", "status": 400, }, ] Number of calls: 1 ❯ test/e2e/adapters/fastify.spec.ts:46:30
build (18.x)
Process completed with exit code 1.
build (20.x)
The job was canceled because "_18_x" failed.
build (20.x)
The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (18.x)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/