Issue in integrating Salesforce login through SDK in Xamarin

We are facing issue in integrating Salesforce login through SDK in Xamarin.

We are using the Salesforce SDK provided by Xamarin to integrate login screen in Xamarin iOS and Xamarin Android.

Package Name: Salesforce-Xamarin

Error on Android
When we are using the code sample as provided on the salesforce site , we are getting error "error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration ".

Error on iOS
When we are using the code sample as provided on the salesforce site, we are getting Authentication Error – Frame load interrupted.

Tagged:

Answers

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai
    edited June 2018

    @VijayPrakashPandey

    You should really bring this up with the folks at Sales Force, but it would seem that you have an incorrect redirect url:

    error=redirect_uri_mismatch&error_description=redirect_uri must match configuration

    I have not worked with the SalesForce SDK, but I expect it is similar to other OAuth sign in sites where you configure a redirect URL with SalesForce when you register your app on SalesForce's site, and you have to provide that same redirect url from your app when calling the API.

    The issue on iOS might be the same as it is an Authentication error.

  • VijayPrakashPandeyVijayPrakashPandey USUniversity

    Thanks JGoldberger for your answer.

    We reached to Sales force folks for the same but as per them this error is not from Salesforce & SalesforceSDK Xamarin package is developed by Xamarin so they are not able to help us to resolve this issue.

  • JGoldbergerJGoldberger USMember, Forum Administrator, Xamarin Team, University Xamurai

    OK, then you should file an issue on the repository for the Salesforce SDK: https://github.com/xamarin/SalesforceSDK/issues

Sign In or Register to comment.