if(req.azureMobile.push){
var payload = {
"data": {
"message": 'Welcome'
}
};
req.azureMobile.push.gcm.send(null, payload, function (error) {
if (error) {
logger.error('Error while sending push notification: ', error);
} else {
logger.info('Push notification sent successfully!');
}
});
}
Error: 404 - No service is hosted at the specified address..TrackingId:414e948f-778d-4d9a-b784-63c74a9d86ad_G7,TimeStamp:12/15/2016 10:39:28 AM
at Function.ServiceClient._normalizeError (/home/user/JRNY_code_repo/jrny-api/jrny-api/node_modules/azure-common/lib/services/serviceclient.js:814:23)
/.auth/refresh
/.auth/refresh
to work, the request needs to be authenticated with a token that was obtained with the offline_access
scope
/.auth/me
and obtain the refresh_token
The Node.js Server SDK for Azure Mobile Apps does not support relationships in any way, shape or form
POST
to /.auth/login/aad/callback
. not interested in posting to stack overflow, but forum post updated: https://social.msdn.microsoft.com/Forums/azure/en-US/54ed3ad6-e218-439f-ba33-91411f5b21de/how-can-i-troubleshoot-easyauth-errors?forum=azuremobile
var frame = window.opener.frames[receiverFrameName]
\\?\D:\home\site\wwwroot\node_modules\bcrypt\build\Release\bcrypt_lib.node
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at bindings (D:\home\site\wwwroot\node_modules\bindings\bindings.js:76:44)
at Object.<anonymous> (D:\home\site\wwwroot\node_modules\bcrypt\bcrypt.js:3:35)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
Application has thrown an uncaught exception and is terminated:
Error: %1 is not a valid Win32 application.
\\?\D:\home\site\wwwroot\node_modules\bcrypt\build\Release\bcrypt_lib.node
at Error (native)
at Object.Module._extensions..node (module.js:460:18)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at bindings (D:\home\site\wwwroot\node_modules\bindings\bindings.js:76:44)
at Object.<anonymous> (D:\home\site\wwwroot\node_modules\bcrypt\bcrypt.js:3:35)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)