I have an application that is deployed to two different environments (Prod 1 and Prod 2), but both environments use the same ClientId when requesting a token.
I’d like to be able to pass along the environment name as part of the Client Credentials grant, and have that information available in the logs.
I’ve tried passing the data on the query string, and as addition key/value pairs in my request body. I was hoping that any additional data would be added to the Raw Data in the request logs, but that doesn’t seem to be the case.
Does Auth0 have a way of creating custom log parameters during a Client Credentials exchange? Can the log parameters be written to in a custom Action?