locked
Problem With Live SDK Single SignOn RRS feed

  • Question

  • <script>
                WL.init({
                    client_id: "My_CLientID",
                    redirect_uri: "MY_URL",
                    scope: "wl.signin",
                    response_type: "token"
                });
                function signInUser() {
                    WL.login({
                        scope: "wl.signin"
                    });
                }
                WL.Event.subscribe("auth.login", onLogin);
    
                function onLogin() {
                    document.getElementById("infoLabel").innerText = "Signed in.";
                }
    
                WL.Event.subscribe("auth.sessionChange", onSessionChange);
    
                function onSessionChange() {
                    var session = WL.getSession();
                    if (session) {
                        document.getElementById("infoLabel").innerText =
                            "Something about the session changed.";
                    }
                    else {
                        document.getElementById("infoLabel").innerText =
                            "Signed out or session error.";
                    }
                }
    
    
          
    
            </script>

    I am just trying to use Windows Live SDK. I have passed all the values as in the documentation. It show some strange error i dono wat to do. Please help me guys

    My Machine Config

    Windows 8 Customer Preview

    Visual Studio 12 RC Ultimte

    Live SDK Preview v5.2


    • Edited by iArivu Tuesday, July 31, 2012 4:58 AM
    Tuesday, July 31, 2012 4:33 AM

All replies