React Native Salesforce SDK login callback not received Android/iOS
Closed this issue · 2 comments
vinod1988 commented
Hi Team
I am using the latest version 11.1.0 of react native sdk. I am describing the issue below
Upon launching the app, the Salesforce login page is displayed. After entering the username and password, the app redirects to the authorization page, and although permission is granted, the expected callback is not invoked.
I am using the below functions. This is sample refe code given by the salesforce template app example
oauth.getAuthCredentials(
() => that.fetchData(), // Callback for an already logged-in user
() => {
oauth.authenticate(
() => that.fetchData(), // Callback upon successful authentication
(error) => console.log('Failed to authenticate:' + error)
);
}
);
Please help me, where i am doing the mistakes
musarratbare commented
Hi @vinod1988 ,
I am facing the same issue. Can you please share your workaround have researched a lot on this and I am going nowhere.