Questions tagged [xamarin.auth]

A cross-platform API for authenticating users and storing their accounts.

Xamarin.Auth is a cross-platform API for authenticating users and storing their accounts. It supports a few authentication options out of the box, OAuth2 in particular with an example given for Facebook. It is run from Github and can be cloned or forked from there.

https://github.com/xamarin/Xamarin.Auth

138 questions
1
vote
0 answers

How to using Xamarin Auth to authencate facebook user?

I'm developing an application to authenticate facebook username by xamarin auth, which mean user does not require to log in but they can authenticate their user email. below is my user interface design code: Login.xaml
1
vote
2 answers

Error CS0433: The type 'JsonValue' exists in both 'System.Json, Version=2.0.5.0' and 'Xamarin.Auth' (CS0433)

I'm trying to create an app in Visual studio for mac with Xamarin.Forms. In this app I'm using Xamarin.Auth to store some user details. Now I want to add a connection with an API by using JSON. I added System.Json and added my code. But the problem…
TruffelNL
  • 480
  • 5
  • 22
1
vote
1 answer

My xamarin application will not redirect after logging in to facebook

I am new to xamarin forms, I've done plenty of searching on SO and google and cannot solve this problem that has had me stuck for a few days now. I want the users of my mobile application to be able to login with Facebook. I've followed the code…
DrLazer
  • 2,805
  • 3
  • 41
  • 52
1
vote
1 answer

Xamarin.Auth : Authenticating Users with an Identity Provider [xamarin forms - Android]

I'm following this sample tutorial for https://developer.xamarin.com/guides/xamarin-forms/cloud-services/authentication/oauth/ After download the sample, I follow the instructions and change all my clientID endpoint.I got into the Google Sign In…
hongguan
  • 520
  • 2
  • 12
1
vote
0 answers

Severely confused on how to properly use IdentityServer on my App

I may not properly understand how to properly implement IdentityServer4 with Xamarin.Auth. Basically I'm using Xamarin.Auth for multiple cases logging in with OAuth2 Vendors (MS/Google/FB) logging in with self implemented OAuth2 (not used…
ExtremeSwat
  • 794
  • 1
  • 12
  • 34
1
vote
1 answer

Can't make Xamarin.Auth redirect back to device

I followed this tutorial to authenticate with Azure AD for my Azure Mobile Service but I can't get the URL redirect working. Maybe I have misunderstood but this is what I have tried ... In the iOS project I added this URL Scheme to info.plist:…
Jonas Rembratt
  • 1,550
  • 3
  • 17
  • 39
1
vote
1 answer

Xamarin Auth - Facebook & GooglePlus

I'm currently begining to work with Xamarin.Auth and I'm facing 2 problems for which I'm stuck since 1 day and half.. I have this piece of code : public class OAuth { private Account account; private AccountStore store; // These values…
Emixam23
  • 3,854
  • 8
  • 50
  • 107
1
vote
0 answers

Xamarin.Auth authentication issues

I have a Xamarin.Android project and an ASP.NET MVC 5 website with ASP.NET Identity and OAuth for the account management and login. I have added Xamarin.Auth to the Android project using the Xamarin components in Visual Studio. var auth = new…
1
vote
1 answer

Xamarin.Auth Android Native UI not working

I am using Xamarin.Auth to authenticate to my identity provider with implicit flow on Android. I can't get the native ui (chrome custom tabs) to work with Xamarin.Auth as I get the following error: UNHANDLED EXCEPTION: 06-30 11:40:48.903…
marcusturewicz
  • 2,394
  • 2
  • 23
  • 38
1
vote
1 answer

How to avoid redirect url screen after oauth completes using xamarin.auth for Linkedin Sign-in?

I have sign-in in LinkedIn using xamarin.auth. After Oauth completes successfully, redirect url screen is coming for 1 second instead of directly going in app screen. After 1 second, app screen is coming. How can I avoid this redirect url screen. I…
kittu
  • 265
  • 1
  • 5
  • 17
1
vote
0 answers

LoginPage and MasterDetail Issue

So I'm trying to implement a login with OAuth and the Xamarin.Auth plugin (I'm working in Xamarin.Forms, building for ios and android). I successfully followed this tutorial... on a dummy example. Now I'm try to go for "the real deal" but I'm kind…
Mebius
  • 105
  • 9
1
vote
1 answer

Authentification with Google (to get rtmp url) without using WebView in a Xamarin Project ?

I'm trying to develop a Xamarin project wich is able to stream on youtube. I want to get the rtmp url from the user account. But, recently google has disabled webviews to authorize apps to get accesstoken and others user data. I have tried to use…
1
vote
1 answer

Azure Mobile Services LoginAsync method not working with Microsoft Auth Token

I have successfully been able to get an access_token (or authenticationToken for Microsoft tokens) using the client side authentication in my Xamarin forms App. I am able to get further user information (email, name, etc.) using the same access…
1
vote
0 answers

Pass Resoure Parameter - Xamarin.Auth

Is there anyway to pass in a resource parameter when using Xamarin.Auth? I am using the Microsoft Login Provider to login, however the token that gets generated results in a 401 when I use the token to access the API (hosted on Azure). Thanks in…
Ajay Patel
  • 49
  • 1
  • 3
1
vote
1 answer

Xamarin.Auth uses WebView which is going to get deprecated by Google soon

I'm using Xamarin.Auth with Google API, which I believe uses "embedded" browser to issue OAuth requests and provide UI. But Google announced that such a way of authentication is deprecated: Starting October 20, 2016, we will prevent new OAuth…
Randeep Singh
  • 998
  • 2
  • 11
  • 31