I created the custom node called getMachines
where I will be supplying the ClientId and ClientSecret in input of the node.
And after that i will be accessing the accessToken to get the API data.
After that on the accesstoken want to fetch the machines api.
and this all process should be in one single custom node.
Nobody can help without more information than that. We can't guess the form of the token, how/where it is created, how long it is valid for, how it is renewed, what other requirements the API has, ...
I want authentication through auth0 by grant_type=client_credentials, clientId and clientSecret available.
want to get first the accesstoken by the above information passing through post method.
And after getting the accesstoken want to fetch the api and get the json data.
Please help me on this, as new to this authentication things and with auth0 also.
and do please let me if more information is needed.
Please remember that environment variables are easily picked out of memory - they are not a secure store. They can reduce exposure but they are not really a security mechanism. For that you need a secure keystore and good isolation between processes.