Skip to content

How to Override part of Plugins (jwks) #97

@JustKira

Description

@JustKira

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions