Reauthenticate in fbsdk react native - react-native-fbsdk

is it possible to call reauthenticate? I need to call authenticate but ask user to fill credentials again. I tried looking for it in API but didn't found this option. Thanks

Related

How to unlink an app from twitter account?

I used API from https://github.com/abraham/twitteroauth
to integrate login feature in my website using oAuth api.
If user want to unlink app from twitter account then how to do that?
I tried to find method in sdk but didn't found.
The user goes to Settings->Applications on twitter.com to revoke access. Or, you can use the oauth/invalidate_token in your code to reset the token and require the user to login again to get a new one.

Firebase email or Facebook authentication with BlackBerry 10

I want to use Firebase with a BlackBerry 10 Native + Cascades App.
The problem is Firebase has no libraries for BlackBerry 10. I have done some research saying that I can use the REST API, but I cannot find anywhere on how to do email or facebook login via pure REST. Everything involves downloading the Javascript API which I cannot do as QML support with JS is giving me issues.
Does anyone have any ideas or suggestions?
By definition, you can't do authentication via REST. It requires that a user log into a third party service and enter credentials (not possible without a UI). You could create your own UI for authentication and generate your own custom tokens.
Once you have a token, you can pass that to the REST API by adding ?auth= to the URL.

Prevent iOS native login using Facebook SDK 3.1

I am looking for a way to prevent the native Facebook iOS 6.0 login using Facebook SDK 3.1. I ask this because I would like to request read and publish permissions on login. Using the native login only allows you to request read permission.
I have found a fix for this. To request read and publish permissions on Login, thus preventing the native dialog use the deprecated method, openActiveSessionWithPermissions.

How to consume functionalities of a website that requires a Facebook authentication?

I have a website that requires any user to be logged in using the Facebook auth system.
On the other hand I am making an iOS App that needs to consume functionalities of the website. I implemented the SSO system on the iOS system but I don't get how I'm supposed to call my webservices in a way that tells the backend that "it's ok, I'm authenticated on the iOS app".
Is there anything to do with the signed_request parameters on the iOS side? If yes, I didn't find anyway yet to get that parameter.
Do you have any clue to help me deal with my issue?
Thanks
https://developers.facebook.com/docs/authentication/signed_request/
The signed_request parameter is utilized to share information between Facebook and app in a number of different scenarios:
A signed_request is passed to Apps on Facebook.com when they are loaded into the Facebook environment
A signed_request is passed to any app that has registered an Deauthorized Callback in the Developer App whenever a given user removes the app using the App Dashboard
A signed_request is passed to apps that use the Registration Plugin whenever a user successfully registers with their app
Does iOS use any of these?
** EDIT **
Ok thanks, can you edit your answer and add the fact that I can't
access the signed_request parameter? – MartinMoizard
From Martin: iOS cannot access the signed request parameter probably because iOS is not a webserver that is able to accept HTTP Post paramteres.
I am struggling with this same problem, and it seems that OAuth is actually an authorization protocol, not an authentication protocol. See:
http://www.thread-safe.com/2012/01/problem-with-oauth-for-authentication.html
Seems like the signed request would solve this problem nicely. Not sure why we cannot get them on iOS. Best I can figure out is I need to pass my access_token from the iOS client to my server, and then it can ask graph.facebook.com what user it represents.

How can I automate the login to Twitter using Oauth?

Assumedly, I can use curl to send vars to https://twitter.com/oauth/authenticate...?
All of the libraries I'm trying have the same behavior: I instantiate the object and then I'm directed to the Twitter login screen at https://twitter.com/oauth/authenticate. This is not going to work for me because my users should never know the username/password for Twitter.
Used Abraham library https://github.com/abraham/twitteroauth for this. Thanks.

Resources