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

malach-it / boruta_auth
79%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix/optional-nonce-in-id-token
DEFAULT BRANCH: master
Repo Added 03 Sep 2023 05:44AM UTC
Files 134
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

LAST BUILD ON BRANCH fix/optional-nonce-in-id-token
branch: fix/optional-nonce-in-id-token
CHANGE BRANCH
x
Reset
  • fix/optional-nonce-in-id-token
  • action-elixir-versions-matrix
  • agent-credentials
  • master
  • multiple-key-selection
  • openid-federation
  • poc-hybrid-vp-token
  • provider-policies-registration
  • revert-22-pr-auth_error_msg
  • signatures-adapter
  • status-token-chains
  • update-owl
  • v2-3
  • verify-public-client-id

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

Relevant lines Covered
Build:
Build:
1898 RELEVANT LINES 1504 COVERED LINES
270.14 HITS PER LINE
Source Files on fix/optional-nonce-in-id-token
  • Tree
  • List 134
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
7d392f0e... fix/optional-nonce-in-id-token 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... Pull #56 16 Dec 2025 01:11PM UTC metemaad github
79.24
See All Builds (302)
  • Repo on GitHub
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

© 2025 Coveralls, Inc