get-convex / get-convex/better-auth

How to Override part of Plugins (jwks)

Open
#97 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
764
Forks
126
PR merge metrics
No merged PRs in 30d

Description

Im trying to change alg but when i do all Urls stops working because it reverting back to `/api/auth/jwks`

not `/api/auth/convex/jwks` because its gets override by JWT that i just added in Plugins

```ts
plugins: [
// The Convex plugin is required for Convex compatibility
convex(),

jwt({
jwks: {
keyPairConfig: {
alg: 'ES256'
}
}
})
]
```

i think we should make it simple to modify and customize at least ALG of jwk because default is not support by some 3rd Party that tries to verify token

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.