Azure-Samples / ms-identity-python-webapp

A Python web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
279 stars 133 forks source link

Sign in Replacement tokens customization file (apps.json) absent? #134

Closed mwanzias closed 3 months ago

mwanzias commented 3 months ago

We have some automated scenarios, there are files we depend on to have the code automatically replace the tokens and configure the authority. The files seem to have been dropped in this specific edition of samples.

That is the apps.json file in the AppCreationScripts is it possible to be reinstated? there are a few structural differences between sample.json and apps.json the apps.json would be what we use for the automated replacement process for the appId, client secret and any other client specific configuraitons.

The section of interest in the apps.json file had this kind of configurations

"codeConfigurations": [ { "settingFile": ".env", "replaceTokens": { "appId": "Enter_the_Application_Id_Here", "tenantName": "Enter_the_Tenant_Subdomain_Here" } }, ]

SHERMANOUKO commented 3 months ago

@mwanzias reach out to me or Ray Luo and we can discuss this

rayluo commented 3 months ago

We discussed offline. We agreed that the samples will not provide a configuration file existing in Version Control System; instead, the automation scripts shall populate a configure file (currently a .env) on-the-fly.