Forum Xamarin.Forms

Xamarin.Forms Xamarin.Auth

VagelisVagelis GRMember ✭✭

Hi to all
I am trying to login in with Xamarin.Auth.
This is my first attemp so sorry for my mistakes.
My code is simple:

var auth2 = new OAuth2Authenticator("", "",
new Uri("https://mysite.com/Login/index.html?name=aName&appid=1"),
new Uri("myapp://")
,null, true
);
auth2.Completed += OnAuthCompleted;
auth2.Error += Auth_Error;
var presenter = new Xamarin.Auth.Presenters.OAuthLoginPresenter();
presenter.Login(auth2);

Here an error message appears and says that clientID cannot be null.
How can i ovveride this? With custom OAuth2Authenticator can be done?
Is CallBack Url OK?
Any example on custom oauth2 please?

Thanks in advance

Tagged:

Answers

Sign In or Register to comment.