Windows live login in my javascript web app RRS feed

  • Question

  • Hi,

    I am trying to implement windows login in my javascript application. I tried this code

               WL.Event.subscribe("auth.login", onLogin);
                    client_id: 'XXXX',
                    redirect_uri: 'http://test.com/test.html',
                    scope: "wl.signin",
                    response_type: "token"
                    name: "signin",
                    element: "signin"

    When I clicked the Sign in button, the popup opens and automatically closed.

    When I inspected in console, it says "The+provided+value+for+the+input+parameter+'response_type'+is+not+allowed+for+this+client.+Expected+value+is+'code'" . Can anyone suggest me how to fix this?

    • Edited by Manikanda85 Thursday, December 15, 2016 2:50 PM
    Thursday, December 15, 2016 2:46 PM