Skip to content

fix(docs): correct OIDC callback URL to use OIDC_NAME#687

Merged
krokosik merged 1 commit into
mainfrom
fix-679-oidc-redirect-uri-docs
Jun 21, 2026
Merged

fix(docs): correct OIDC callback URL to use OIDC_NAME#687
krokosik merged 1 commit into
mainfrom
fix-679-oidc-redirect-uri-docs

Conversation

@krokosik

Copy link
Copy Markdown
Collaborator

Description

The docs hardcoded /api/auth/callback/oidc, but the actual OIDC provider id is env.OIDC_NAME?.toLowerCase() ?? 'oidc' (src/server/auth.ts:249). Users setting OIDC_NAME=tinyauth therefore need /api/auth/callback/tinyauth, and the previous docs led them to configure the wrong redirect URI in their IdP.

Updated docs/AUTHENTICATION.md to document the parameterized form and include an example.

Closes #679

Checklist

  • I have read CONTRIBUTING.md in its entirety
  • I have performed a self-review of my own code
  • The last commit successfully passed pre-commit checks

Note: pnpm tsgo --noEmit currently fails on main due to a pre-existing error in src/components/group/AddMembers.tsx:89 (sendInviteEmail not in tRPC input type), unrelated to this docs-only change.

The docs hardcoded /api/auth/callback/oidc, but the actual provider id
is env.OIDC_NAME?.toLowerCase() ?? 'oidc' (src/server/auth.ts:249), so
users setting OIDC_NAME=tinyauth need /api/auth/callback/tinyauth.

Closes #679
@krokosik krokosik added this to the 2.1.x milestone Jun 21, 2026
@krokosik krokosik merged commit 3419cd3 into main Jun 21, 2026
4 checks passed
@krokosik krokosik deleted the fix-679-oidc-redirect-uri-docs branch June 21, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong OIDC redirect uri path in docs

1 participant