If you are using jwt plugin - u have to set keyPairConfig for jwks (0.10)
jwks: {
keyPairConfig: {
alg: "RS256",
},
},
jwt: { expirationTime: '24h', disableSettingJwtHeader: true },
}),
I believe u have to add it to the docs.
expirationTime is not working for a long time, its always 15m https://github.com/get-convex/better-auth/issues/146
