Use different enviroment variables

Can I set environment variables with names like these:
.env
AUTH0_CLIENT_ID_APP_1 = ‘some value’
AUTH0_CLIENT_ID_APP_2 = ‘some value’

and then set in initAuth0 different variables according to domain

initAuth0({
clientID: domain === ‘APP_1’ ? process.env.AUTH0_CLIENT_ID_APP_1 : process.env.AUTH0_CLIENT_ID_APP_2
});

Can I do something like that?

Hi @anton.omelchuk,

Welcome to the Auth0 Community!

This seems possible. I can’t speak to your use case, or a use case where this would be necessary though.

Also I’m not sure what SDK/framework you’re using.