• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bcgov / digital-trust-common-service / 31602982875
87%

Build:
DEFAULT BRANCH: main
Ran 12 Aug 2026 01:45PM UTC
Jobs 1
Files 131
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Aug 2026 01:44PM UTC coverage: 87.726% (+1.0%) from 86.732%
31602982875

push

github

web-flow
feat(auth): AU-03 JWT validation guard (#36) (#163)

* feat(auth): implement AU-03 JWT validation guard (#36)

Add JwtGuard that validates app-issued Bearer tokens against cached /oidc/jwks,
normalizes claims onto the request context, and returns RFC-compliant 401 responses.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(auth): polish AU-03 docs, swagger, and test coverage

Update admin auth comments, document JWT env vars, add Swagger bearer
decorators, expand unit tests to 100% line coverage on new auth code, and
fix expired-token error mapping for jose ERR_JWT_EXPIRED.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(admin): override JwtGuard in controller unit test

The admin controller spec exercises service delegation only; stub guards
avoid pulling AuthModule/JwtValidationService into the isolated test module.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(swagger): avoid auth module import in swagger service spec

Move APP_JWT_BEARER_SCHEME to a dependency-free constants module and extend
the swagger Jest mock with ApiProperty/addBearerAuth so entity decorators load.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(auth): address AU-03 Copilot review findings

Harden WWW-Authenticate quoting, avoid redundant JWKS refreshes on
missing kids, add JWKS fetch timeouts, and make JWT audience configurable.

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor(auth): address AU-03 naming and readability nits

Rename ApiAppJwtAuth to ApiJwtAuth, share Swagger bearer-auth setup via
helpers, and split OIDC test token verification into smaller helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(auth): resolve AU-03 prettier and unbound-method lint errors

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

1369 of 1724 branches covered (79.41%)

Branch coverage included in aggregate %.

194 of 194 new or added lines in 11 files covered. (100.0%)

2569 of 2765 relevant lines covered (92.91%)

9.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31602982875.1 12 Aug 2026 01:45PM UTC 131
87.73
GitHub Action Run
Source Files on build 31602982875
  • Tree
  • List 131
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31602982875
  • f49777d0 on github
  • Prev Build on main (#31433826847)
  • Next Build on main (#31819966187)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc