none
Authenticating to OneNote via Xamarin app RRS feed

  • Question

  • Hi all,

    I'm developing a cross-platform app with Xamarin and want to make integration with OneNote in it.

    I can't use Live SDK, because it's not available for Xamarin, so I'm using the Xamarin.Auth component.

    The problem is that, I'm not able to see any authentication screen or smth.. Anything would be helpful :)

    Here's some code..

    var auth = new OAuth2Authenticator (
                               oneNoteKey, //clientId
                               oneNoteSecret, //clientSecret
                               "office.onenote_create", //scope
                               new Uri (
    "https://login.live.com/oauth20_authorize.srf" ), //authorize url
                               new Uri ("https://login.live.com/oauth20_desktop.srf"), //redirect url
                               new Uri ("https://login.live.com/oauth20_token.srf") //acessToken url
                           );




    Monday, February 15, 2016 8:48 AM