-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
with the previous version (v4) of auth0 sdk we were able to creat a client by passing
client_authentication_methods: {
private_key_jwt: {
credentials: [
{
credential_type: 'public_key',
name: 'publick_key_name',
pem: your_pem_var,
alg: 'RS256',
parse_expiry_from_cert: false,
expires_at: expires_at_var,
},
],
},
},
With v5 credentials is only allowed "A list of unique and previously created credential IDs enabled on the client for Private Key JWT authentication." but the above code still works (with any) and the client is created with the correct private key jwt credential
Reproduction
auth0.clients.create with typescript and setting private key jwt with credentials
Additional context
No response
node-auth0 version
5.0.0
Node.js version
22.15.0
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code