Closed bolivir closed 2 years ago
I would very well be interested as I need a dynamic tenant ID and client ID. Please open a PR and share your code. Thank you!
I have the same scenario - a PR would be great.
I also have the same issue
@bolivir I also have the same scenario. Can you please add a PR or provide changes done by you for this. Thank you in advance!
@bolivir I have the same scenario. Could you please provide the changes need to implement
Is there any to use an dynamic tenant ID? As far as i have seen in the code the tenant id will always be from the package.json config and cannot be set on init.
The problem: Our app gets used by different companies, those can enable azure login where they provide the tenant id. So we dont know the tenant id before and therefore we need to set it in the code behind.
I modified the MsalPlugin to check for an tenant id in the authorities and use that if specified otherwise use the config tenant id (Which in my case would be common because its not specified).
If you see any added value in this feature, let me know and i will open an PR for it.