MBE using the MCK SDK however I keep getting, "basicAuth undefined"
Summary
MBE using the MCK SDK however I keep getting, "basicAuth undefined"Content
Hi, I have been trying to sign into my MBE using the MCK SDK however I keep getting, "basicAuth undefined" returned from the Javascript. Here's the msconfig.js code shown below:
Note: this example is derived from Chris Muirs DZone article:
https://dzone.com/articles/how-to-mash-up-jet-and-mcs-mobile-apps
define(['mcs'], function(mcs) {
var applicationkey = "dsfdsf";
var mcs_config = {
logLevel: mcs.LOG_LEVEL.INFO,
logHTTP: true,
mobileBackends: {
my_mbe: {
default: true,
baseUrl: "https://...oraclecloud.com:443",
applicationKey: applicationkey,
authorization: {
basicAuth: {
backendId: "...",
anonymousToken: ".."
}
}
}
}
};
function McsConfig() {
var self = this;
mcs.MobileBackendManager.platform = new mcs.BrowserPlatform();