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

supabase / auth / 17977940517
69%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2025 01:24PM UTC
Jobs 1
Files 165
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

24 Sep 2025 01:17PM UTC coverage: 67.666% (-0.03%) from 67.7%
17977940517

push

github

web-flow
feat: webauthn support schema changes, update openapi.yaml (#2163)

## What kind of change does this PR introduce?

Feature improvement / API cleanup

## What is the current behavior?

- The API returns credential_creation_options and
credential_request_options as separate fields at the root level,
requiring clients to check which is null
- OpenAPI spec doesn't match actual server output (missing publicKey
wrapper that go-webauthn library adds)
- Field naming inconsistent with W3C spec (web_authn vs standard
webauthn)

## What is the new behavior?

1. Challenge response structure changed to discriminated union:
- Before: Check null fields {credential_creation_options?: ...,
credential_request_options?: ...}
- After: Single typed field {type: "create" | "request",
credential_options: {publicKey: ...}}
2. Verify request structure unified:
- Before: {creation_response?: ..., assertion_response?: ...}
- After: {type: "create" | "request", credential_response: ...}
3. RPOrigins changed from comma-separated string to string array
(matches go-webauthn v3 expectations)

## Additional context

This makes the PR for the auth-js library easier.

13 of 36 new or added lines in 1 file covered. (36.11%)

339 existing lines in 10 files now uncovered.

13044 of 19277 relevant lines covered (67.67%)

65.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
23
57.98
-0.41% internal/api/mfa.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
65.22
-2.22% internal/api/anonymous.go
2
68.0
-1.44% internal/api/invite.go
2
57.98
-0.41% internal/api/mfa.go
12
66.98
-0.32% internal/api/signup.go
12
12.66
-0.39% internal/api/token_oidc.go
16
3.81
-0.11% internal/api/samlacs.go
25
32.5
6.79% internal/api/hooks.go
33
82.95
-0.24% internal/api/web3.go
86
76.3
-0.09% internal/api/external.go
149
65.25
0.01% internal/api/mail.go
Jobs
ID Job ID Ran Files Coverage
1 17977940517.1 24 Sep 2025 01:24PM UTC 165
67.67
GitHub Action Run
Source Files on build 17977940517
  • Tree
  • List 165
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 68cb8d2b on github
  • Prev Build on master (#17947966352)
  • Next Build on master (#17980540058)
  • 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

© 2025 Coveralls, Inc