Custom format for API Key
I need my API keys to be a UUID v4 (the software that it interfaces with requires the keys to be formatted that way) - how can I do this with the API key plugin?
plugins: [
apiKey({
customKeyGenerator: async () => {
return crypto.randomUUID();
},
}),
],