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

supabase / auth / 28925647307
71%
master: 71%

Build:
Build:
LAST BUILD BRANCH: feat/facebook-access-token-grant-link-identity
DEFAULT BRANCH: master
Ran 08 Jul 2026 07:38AM UTC
Jobs 1
Files 197
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

08 Jul 2026 07:32AM UTC coverage: 71.385% (+0.04%) from 71.345%
28925647307

Pull #2609

github

spydon
feat(token): add RFC 8693 token-exchange grant for provider access tokens

Adds grant_type=urn:ietf:params:oauth:grant-type:token-exchange so a client can sign in with a provider-issued access token (subject_token) instead of an OIDC id token.

Facebook's native Android login only mints an OIDC id token (carrying the email claims) on the first authorization, so signup stays on the id_token grant. On subsequent logins Facebook returns only a classic access token with no profile claims. This grant verifies the token belongs to the app via a provider-specific AccessTokenVerifier (Facebook: /debug_token, checking app id, validity and user-token type), reads the provider subject from it, and signs in the existing identity. It does not create accounts.
Pull Request #2609: feat(token): add RFC 8693 token-exchange grant for provider access tokens

86 of 111 new or added lines in 3 files covered. (77.48%)

18064 of 25305 relevant lines covered (71.39%)

661.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
77.78
internal/api/token_exchange.go
9
87.25
-3.79% internal/api/provider/facebook.go
Jobs
ID Job ID Ran Files Coverage
1 28925647307.1 08 Jul 2026 07:38AM UTC 197
71.39
GitHub Action Run
Source Files on build 28925647307
  • Tree
  • List 197
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2609
  • PR Base - master (#28872604653)
  • 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