I am building a custom node which uses JWT for authorization. When generating the token, the database claim must be provided. This database is currently being set in the credentials options. I have a workflow where the database can change for each executions. However, n8n saves the access token across executions. I am using the preAuthentication method to generate the token.
Is it possible to reset the access token for each execution in case the database has changed? As a workaround I added a node operation to generate the token and then setting the access token manually in the credentials via an expression.