Avatar

Level 4

ok cool, once i manage to get my user logged in ill have a look at this userID stuff

in the meanwhile, im getting a token and a roomURL from my backend guys now and then doing this with it:

var roomURL:String = notification.getBody().toString();
cocomoSession.roomURL = roomURL;
cocomoSession.login();

thats means im NOT setting a userName and password on my AdobeHSAuthenticator before the login attempt. VERY shortly after that i'm getting this error:

AFCS Beta Build # : 0.92
requestInfo http://connectnow.acrobat.com/[OUR_TEST_ACCOUNT]/[OUR_ROOM_NAME]?exx=[OUR_AUTH_KEY]=&mode=xml&x=0.32322668796405196
#THROWING ERROR# bad authentication key
Error: Invalid username or password:Login again
    at com.adobe.rtc.authentication::AbstractAuthenticator/onLoginFailure()[/Users/[MY_USER_NAME]/Documents/Flex Builder 3/CocomoSDK_0.92/src/com/adobe/rtc/authentication/AbstractAuthenticator.as:182]

obviously i've swapped out all the ACTUAL data sent from the back end auth service for things like [OUR_AUTH_KEY] here cos i don't want the whole net seeing my auth key, but hopefully you get the picture. the error suggests i need a userName and password but my understanding of this authToken is that that precisely avoids the need for such things.

do i need to supply a userName and password anyway?