wrobins / cordova-plugin-msal

Use the newest Microsoft MSAL library in your Cordova-based project!
Apache License 2.0
23 stars 63 forks source link

Meteor mobile_config.js file to configure TENANT_ID and CLIENT_ID #92

Open jdipallo opened 2 years ago

jdipallo commented 2 years ago

Hello: I am using Meteor JS 2.2. When adding a Cordova plugin, one cannot pass in variables when adding/installing the plugin. Any variables needed such as CLIENT_ID/TENANT_ID go into a file at the root of the project named mobile-config.js. The syntax is this:

App.configurePlugin('cordova-plugin-msal.msalPlugin', { CLIENT_ID: 'b50e6a4c-a9c9-4668-a49f-16a64f038adc', TENANT_ID: '36226acb-be98-4ea0-aa7d-700781c294a9' })

However, in my Xcode project, viewing the config.xml cordova file does not show these settings. I have also tried simply 'msalPlugin' as the name of the plugin.

Any ideas?

Thank you to all

jdipallo commented 2 years ago

@wrobins - tagging you. Thanks for making this plugin available.