Login With LinkedIn in Xamarin.Forms : Error Authenticating: Invalid_request Exception?

451 Views Asked by At

I am implementing linkedin login with xamarin.auth. Please see screenshot for exception. I tried to put breakpoints but they are not hit and exception arises. Help me solve this please.

enter image description here

2

There are 2 best solutions below

0
gorhal On

I had the same issue, this is perhaps not the best solution but at least no more annoying alert.

Just before you do your call( var request = xxxx ) Add the following line:

auth.ShowErrors = false;

No more popup :-)

0
Zane Campbell On

The issue for me was the Redirect URL. Used this one instead and it worked: https://www.linkedin.com/oauth-success. You need to dismiss the Auth UI in the Completed callback.