Repository navigation
Add convexAuthProvider() for auth.config.ts - #788
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
dowski
force-pushed
the
dowski/convex-auth-config-func
branch
from
October 23, 2026 19:43
707afb9 to
f7ffb65
Compare
dowski
force-pushed
the
dowski/deployment-issued-jwt-usage
branch
from
October 23, 2026 19:43
c8653e0 to
56c0ae9
Compare
commit: |
dowski
force-pushed
the
dowski/deployment-issued-jwt-usage
branch
from
October 23, 2026 19:51
56c0ae9 to
c3f812a
Compare
dowski
force-pushed
the
dowski/convex-auth-config-func
branch
from
October 23, 2026 19:51
f7ffb65 to
68de5d6
Compare
dowski
marked this pull request as ready for review
October 23, 2026 20:10
dowski
force-pushed
the
dowski/deployment-issued-jwt-usage
branch
from
October 23, 2026 20:39
c3f812a to
f305c48
Compare
dowski
force-pushed
the
dowski/convex-auth-config-func
branch
from
October 23, 2026 20:39
68de5d6 to
6df9112
Compare
dowski
force-pushed
the
dowski/deployment-issued-jwt-usage
branch
from
October 23, 2026 20:42
f305c48 to
dee1479
Compare
dowski
force-pushed
the
dowski/convex-auth-config-func
branch
from
October 23, 2026 20:42
6df9112 to
8e191c3
Compare
dowski
changed the base branch from
dowski/deployment-issued-jwt-usage
to
graphite-base/788
October 26, 2026 17:18
dowski
force-pushed
the
graphite-base/788
branch
from
October 26, 2026 17:18
dee1479 to
e9df54c
Compare
dowski
force-pushed
the
dowski/convex-auth-config-func
branch
from
October 26, 2026 17:18
8e191c3 to
7d0f53e
Compare
`convexAuthProvider()` returns the `customJwt` provider that accepts the access tokens the auth component mints, so apps no longer spell it out in `convex/auth.config.ts` and future changes to it don't require editing every app's config. It reads `CONVEX_CLOUD_URL` itself and takes an optional `componentName` for apps that mount the auth component under another name. The examples and the `auth.config.ts` the CLI scaffolds now use it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dowski
force-pushed
the
dowski/convex-auth-config-func
branch
from
October 26, 2026 17:19
7d0f53e to
6fddae2
Compare
erquhart
approved these changes
Oct 27, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This simplifies
auth.config.tssetup and also allows us to make changes to the configuration in the future that don't require applications to update theirauth.config.ts.The function takes an optional argument for the component name in case an application uses a different name for the core component.