Expand my Community achievements bar.

Need help authenticating

Avatar

Former Community Member

I've worked through some beginning exercises just fine, but started again and can't get going.  I have the application below, and when I debug I get no messages, neither success nor failure information in the console.  I can't see a typo, and everything is compiling fine.

I can verify the account and room name.

Any hints would be greatly appreciated.  Must be a typo, but I can't see it.

Thanks-

Matt

PS-Not worried about showing credentials as this is just a testing account.

?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    minWidth="955"
    minHeight="600"
    xmlns:rtc="http://ns.adobe.com/rtc">

    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
        <rtc:ConnectSessionContainer width="100%"
            height="100%"
            roomURL="https://collaboration.adobelivecycle.com/lcsf/lcsf100">
            <rtc:authenticator>
                <rtc:AdobeHSAuthenticator userName="lcsf100@gmail.com"
                    password="lcsflcsf"/>
            </rtc:authenticator>
        </rtc:ConnectSessionContainer>
    </fx:Declarations>
</s:Application>

2 Replies

Avatar

Former Community Member

Hi there,

Take your ConnectSessionContainer and put it in the body of the app, rather

than the declarations, and this code should work. (CSC is a container, like

a Canvas, so it's really a UI component).

nigel