On the Microsoft website they have multiple examples on how to use msal to authenticate users to the Azure AD within an SPA. In all these examples the Application (client) ID is stored in plain text in the code or in a simple .json file.
My question, given that everything stored in the front end is considered to be public, is it bad practice to simply store the app configuration like Azure (client) ID in a json file? Or would this be better stored in a .env file?
These are the details the app would need to function:
AZURE_APP_CLIENT_ID=""
AZURE_APP_AUTHORITY=""
AZURE_APP_REDIRECT_URI=""
AZURE_APP_POST_LOGOUT_REDIRECT_URI=""
API_URI=""
API_AZURE_EXPOSED_SCOPE=""