• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

supabase / auth / 19426873690
68%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feat/token-endpoint-auth-method-enforcement
DEFAULT BRANCH: master
Ran 17 Nov 2025 10:51AM UTC
Jobs 1
Files 167
Run time 493min
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

17 Nov 2025 10:45AM UTC coverage: 68.269% (-0.05%) from 68.314%
19426873690

Pull #2250

github

web-flow
feat(oauthserver): add oauth scope support for oidc (#2253)

## Summary

This PR adds comprehensive OIDC scope support to the OAuth server
implementation, enabling proper scope-based access control and claim
filtering per the OpenID Connect Core specification.

## Changes:
- **Scope-based claim filtering**: Claims are only included in ID tokens
and UserInfo responses when the corresponding scope is granted
    - `openid` → `sub` (subject identifier)
    - `email` → `email`, `email_verified`
    - `profile` → `name`, `picture`, `preferred_username`, `updated_at`
    - `phone` → `phone_number`, `phone_number_verified`
- **Conditional ID token generation**: ID tokens are only generated when
the `openid` scope is requested
Pull Request #2250: feat(oauthserver): add OpenID Connect support

155 of 280 new or added lines in 11 files covered. (55.36%)

33 existing lines in 2 files now uncovered.

14163 of 20746 relevant lines covered (68.27%)

78.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
76.92
2.85% internal/api/shared/context.go
2
69.49
-0.94% internal/models/refresh_token.go
3
78.71
-0.54% internal/models/sessions.go
18
3.0
-0.14% internal/api/oauthserver/authorize.go
19
81.23
-0.19% internal/tokens/service.go
33
47.64
6.13% internal/api/oauthserver/handlers.go
48
18.46
-33.71% internal/api/jwks.go

Uncovered Existing Lines

Lines Coverage ∆ File
16
62.33
0.13% internal/api/token.go
17
47.64
6.13% internal/api/oauthserver/handlers.go
Jobs
ID Job ID Ran Files Coverage
1 19426873690.1 17 Nov 2025 10:51AM UTC 167
68.27
GitHub Action Run
Source Files on build 19426873690
  • Tree
  • List 167
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2250
  • PR Base - master (#19136539906)
  • Delete
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