Hey,
I would like to make webhook what will take as value API token to external API (toggl). Can I in request node set basic auth but to login be expression? If so, how to do this?
Thanks!
Simon
Hey,
I would like to make webhook what will take as value API token to external API (toggl). Can I in request node set basic auth but to login be expression? If so, how to do this?
Thanks!
Simon
Morning @Shirobachi,
You can use expressions in the credentials themselves through the little cog on the right but you can’t set the dropdown value to be an expression (or shouldn’t be able to).
Hey… I´m trying use the expression as you suggest but it´s not working…
Could you help me to find where am I wrong?
And if i can´t use expression like this, how make this Basic Auth dynamically
Hey @Evandro_Caruso,
As long as you don’t change the field from an expression it should be ok, The __n8n_BLANK_VALUE
is just some dummy data we return to the UI rather than showing the value when the node goes to use the expression it should be all good.
We should also have a fix in the next release of n8n that prevented some expressions from working in credentials which may help.