Repository navigation
Commit 57258e1
committed
docs(sso): the OIDC flow uses /sign-in/social and /callback/:id
The OAuth flow section told readers to call POST /api/v1/auth/sign-in/oauth2,
a route nothing registers. better-auth's generic-OAuth plugin, which carries
the oidcProviders entries, adds no endpoints: it registers each entry as a
social provider, so sign-in starts at /sign-in/social with the entry's
providerId as `provider` and returns through /callback/:id.
Claude-Session: https://claude.ai/code/session_01VDtqoecgES7ScQYGbFVDRv
Co-authored-by: Claude <noreply@anthropic.com>1 parent f243a29 commit 57258e1
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
383 | 385 | | |
384 | | - | |
| 386 | + | |
| 387 | + | |
385 | 388 | | |
386 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
387 | 392 | | |
388 | 393 | | |
389 | 394 | | |
| |||
0 commit comments