Chaps, hope all is well in Bluemix land and well done on the IOS 8 release :-)
I have a question has this release caused the old MAS to have some issues, I am getting this error when use the following API in JavaScript.
// Set the Security Token on IBM Bluemix
IBMBluemix.setSecurityToken(google.access_token, IBMBluemix.SecurityProvider.GOOGLE);
I have updated the JS SDK packages , I know a new released was pushed out 04th of Dec 2014,
Do I need to create a new MAS instance ? if I do can I do it for an individual service ?
Thanks
Matt
[ERROR] [DEFAULT] {
"message": "Error setting security token.",
"error": {
"name": "HttpRequestError",
"message": "Server responded with an error status: 503",
"info": {
"statusCode": 503,
"responseText": "{
"error": "MASS003E: An internal error occured on the server."
}",
"exception": "Service Unavailable",
"requestHeaders": {
"IBM-APPLICATION-ID": "ad023345-1722-44f6-94bb-bb408d90f527",
"IBM-APPLICATION-SECRET": "f3801e5e2461e1327e9184564b211be5fd29906e",
"IBM-SECURITY-TOKEN": "ya29.7AB6d-uFN08NnBcSfxPWqHWLV7ZvllpycefZ6YhSaFaE6HsgJq9qh28F",
"IBM-SECURITY-PROVIDER": "GOOGLE",
"IBM-DEVICE-TYPE": "WEB",
"IBM-DEVICE-ID": "4d5b83c7-ac26-49f7-8796-f69c6179c911",
"IBM-DEVICE-MODEL": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36",
"IBM-DEVICE-PLATFORM-VERSION": "OS: MacIntel",
"IBM-DEVICE-NAME": "Vendor: Google Inc., Browser: 5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36",
"IBM-REQUEST-CORRELATION-ID": 1419926596727
},
"requestOptions": {
"contentType": {},
"timeout": 10000,
"url": "https://gameboard-cloud.mybluemix.net/mas/v1/apps/ad023345-1722-44f6-94bb-bb408d90f527/users",
"headers": {
"IBM-APPLICATION-ID": "ad023345-1722-44f6-94bb-bb408d90f527",
"IBM-APPLICATION-SECRET": "f3801e5e2461e1327e9184564b211be5fd29906e",
"IBM-SECURITY-TOKEN": "ya29.7AB6d-uFN08NnBcSfxPWqHWLV7ZvllpycefZ6YhSaFaE6HsgJq9qh28F",
"IBM-SECURITY-PROVIDER": "GOOGLE",
"IBM-DEVICE-TYPE": "WEB",
"IBM-DEVICE-ID": "4d5b83c7-ac26-49f7-8796-f69c6179c911",
"IBM-DEVICE-MODEL": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36",
"IBM-DEVICE-PLATFORM-VERSION": "OS: MacIntel",
"IBM-DEVICE-NAME": "Vendor: Google Inc., Browser: 5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36",
"IBM-REQUEST-CORRELATION-ID": 1419926596727
},
"type": "post",
"dataType": "json"
}
},
"stack": "Error: Server responded with an error status: 503
Answer by Rama Boggarapu (2305) | Dec 30, 2014 at 10:43 PM
Hello Matt,
There were some internal issues earlier today. They all are resolved now. Please check if your issue is resolved now.
Thank you, Rama
Answer by Dave Cariello (2901) | Jan 05, 2015 at 10:19 AM
Hello Matt,
Are you attempting to use the JavaScript SDK to set the security token? If my understanding is correct, the only service supported in pure JavaScript is Mobile Data.
If you'd like to enable a form of security, I'd recommend adding the single sign on service.
If you'd like to use MAS with JavaScript, you will have to utilize the hybrid SDK in order to access the native layer of your device.
Cheers
I am trying to integrate IBM Bluemix MAS(Mobile Application Security) to my Android Mobile App 1 Answer
401 for https://mydomain.mybluemix.net/data/helo 5 Answers
AppID and App Secret are case sensitive 2 Answers
How can I conceal App Secret of mobile sdk from malicious user? 1 Answer
The value entered in Bluemix mobile application is not persisting 10 Answers