Skip navigation
Currently Being Moderated

External authentication

Nov 18, 2008 6:23 AM

when trying to run the ExternalAuthentication app from the cocomo example the following error appears:

Error: error getting ticket: [Event type="error" bubbles=false cancelable=false eventPhase=2]
at com.adobe.rtc.session.managers::SessionManagerAdobeHostedServices/onT icketError()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\man agers\]
at com.adobe.rtc.session.sessionClasses::SingleUseTicketService/onComple te()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\sessionClas ses\]

Obtaining the authentication key seems to work properly. And I submit this key as URL-encoded String via flashVars to the SWF.

  • Currently Being Moderated
    Nov 18, 2008 11:53 AM   in reply to syzygymz
    What did you use to get the authentication session and generate the token ? Any particular language ?

    And, did you copy the account shared secret from the dev-portal to your application ?

    Can you get a trace of the HTTP requests going from your client to the server ? Or send us info about your account so that I can check what's happening server-side ?

    (sorry for the many questions but the stack trace doesn't really tell me much :)
    Mark as:
  • Currently Being Moderated
    Nov 19, 2008 7:21 AM   in reply to syzygymz
    Ah! I think I found what the problem is!

    You are passing "test" as the role, when it should be a number (0-100).
    I should have made it more explicit in the API (and I'll fix them for next release) but the value you pass is the numeric value expected by cocomo (passed as a string, since I am just passing it as part of the ticket)

    I wish the error was more useful (it's the message from a conversion exception, and I thought I tried that ):

    Sorry for the inconvenience...
    Mark as:
  • Currently Being Moderated
    Nov 19, 2008 9:35 AM   in reply to syzygymz

    Hi syzygymz,

    The idea here is that only UserRoles.OWNER (which does == 100) can create new CollectionNodes in a room. Most collaboration components (Chat, SharedWhiteboard, etc) add CollectionNodes to the room when they are first run, in order to publish and subscribe data messages. Once a CollectionNode has been added to a room, it's permanently there, so subsequent users can use it without needing to be an OWNER.

    hope that helps
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points