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

supabase / auth / 27373392588
71%

Build:
DEFAULT BRANCH: master
Ran 11 Jun 2026 07:57PM UTC
Jobs 1
Files 195
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

11 Jun 2026 07:52PM UTC coverage: 71.244% (+0.1%) from 71.134%
27373392588

push

github

web-flow
feat(custom-oidc): support non-standard discovery URLs (#2573)

## What kind of change does this PR introduce?

Feature

## What is the current behavior?

`discoveryUrl` is only validated during provider creation (admin
endpoint)

## What is the new behavior?

use `discoveryUrl` while making the actual OIDC discovery too

## Summary
- Adds `OIDCProviderCache.GetProviderFromURL` so custom OIDC providers
can fetch their discovery document from any URL, not just
`{issuer}/.well-known/openid-configuration`.
- Custom OIDC providers now always route through this path; the URL is
sourced from `CustomOAuthProvider.GetDiscoveryURL()` (which falls back
to the standard path when no override is configured).
- Bounds discovery fetches with a 10s HTTP timeout and verifies the
document's `issuer` matches the configured one before constructing the
provider.

81 of 98 new or added lines in 5 files covered. (82.65%)

1 existing line in 1 file now uncovered.

17732 of 24889 relevant lines covered (71.24%)

650.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
64.17
1.63% internal/api/custom_oauth_admin.go
2
67.73
0.0% internal/api/external.go

Coverage Regressions

Lines Coverage ∆ File
1
67.73
0.0% internal/api/external.go
Jobs
ID Job ID Ran Files Coverage
1 27373392588.1 11 Jun 2026 07:57PM UTC 195
71.24
GitHub Action Run
Source Files on build 27373392588
  • Tree
  • List 195
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3dacc641 on github
  • Prev Build on master (#27144118166)
  • 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