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

malach-it / boruta_auth / 7d392f0e79f4da405dae0d84eb9d6ecbc31942f4-PR-56
79%
master: 85%

Build:
Build:
LAST BUILD BRANCH: v2-3
DEFAULT BRANCH: master
Ran 16 Dec 2025 01:11PM UTC
Jobs 2
Files 134
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

16 Dec 2025 12:38PM UTC coverage: 79.241% (-6.6%) from 85.835%
7d392f0e79f4da405dae0d84eb9d6ecbc31942f4-PR-56

Pull #56

github

metemaad
fix: only include nonce claim in id_token when provided in auth request

When no nonce is sent in the authorization request (nonce is nil or empty
string), the id_token should not include the nonce claim. Including an empty
nonce causes validation failures with some OIDC relying parties.

Per OIDC Core spec section 2, the nonce claim is optional and should only
be present if a nonce was sent in the authentication request.

This fixes issues with AWS ALB OIDC authentication, which does not send
a nonce parameter but validates the id_token and fails when an empty
nonce claim is present.

Changes:
- Modified maybe_put_nonce helper to skip nonce claim when nil or empty
- Added tests for nonce handling (nil, empty string, and valid nonce)
Pull Request #56: fix: only include nonce claim in id_token when provided in auth request

3 of 3 new or added lines in 1 file covered. (100.0%)

126 existing lines in 8 files now uncovered.

1504 of 1898 relevant lines covered (79.24%)

270.14 hits per line

Coverage Regressions

Lines Coverage ∆ File
47
63.84
-26.5% lib/boruta/openid/verifiable_credentials.ex
42
24.47
-43.62% lib/boruta/openid/verifiable_presentations.ex
24
55.68
-27.65% lib/boruta/openid.ex
6
74.19
-19.56% lib/boruta/adapters/ecto/codes.ex
2
85.71
-9.52% lib/boruta/adapters/ecto/stores/token_store.ex
2
86.67
-6.88% lib/boruta/oauth/authorization/code.ex
2
80.0
-20.0% test/support/boruta/openid/application_mock.ex
1
20.0
-4.0% lib/boruta/did.ex
Jobs
ID Job ID Ran Files Coverage
1 7d392f0e79f4da405dae0d84eb9d6ecbc31942f4-PR-56.1 16 Dec 2025 01:11PM UTC 134
78.33
GitHub Action Run
2 7d392f0e79f4da405dae0d84eb9d6ecbc31942f4-PR-56.2 16 Dec 2025 01:11PM UTC 134
78.79
GitHub Action Run
Source Files on build 7d392f0e79f4da405dae0d84eb9d6ecbc31942f4-PR-56
  • Tree
  • List 134
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #56
  • PR Base - master (#9D70B02A...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc