I have a couple questions surrounding Authorization and Firebase and Expo. I am building an app with react native & expo & firebase that requires a login. I set it up to handle the phone verification with a text message to verify and reCAPTCHA to confirm that they are not a "robot".
With that said, I have talked to a number of people who say that reCAPTCHA is not necessary and I have noted that majority of apps that use phone as OAuth don't use reCAPTCHA. So my questions are:
Can I use Firebase Auth without reCAPTCHA without having to eject my app from EXPO?
Is there another way to implement the phone verification without Firebase?
I am using google sign-in as another option, does anyone have strong feelings about oAuth options? I prefer to stay away from social platforms for a number of reasons. But I am curious if anyone has an preference/ opinion on the matter.
Thank you.
I found that there is no real need for recaptcha with mobile apps. Auth with social or email verification works just fine. I removed the recaptch from the app.
Related
I've integrated plaid using react-native-plaid-link-sdk in my react-native ios project. For OAuth flow, as mentioned in the document, I've added the redirect uri for OAuth flow. It works fine, where I was successfully able to redirect and connect the User's bank account in the external browser. Once done, it redirects back to the application. But in the app it is not resumed from where it left off from the plaid view, instead the app restarts where the HANDOFF event in plaid is not invoked. So I'm unable to update the selected accounts and other details to the server.
I've followed the OAuth requirements given here https://github.com/plaid/react-native-plaid-link-sdk#oauth-requirements
react-native version is 0.68.0
plaid sdk version is 7.4.0
Please clarify if any other additional implementations should be done to handle OAuth flow in react native ios. Thanks.
Two suggestions:
First, make sure the appdelegate is correctly set up, if relevant to your application, as described in https://plaid.com/docs/link/oauth/#react-native-on-ios:
"The PlaidLink component handles Universal Links by default. For integrations that use PlaidLink.openLink, Universal Links will not be handled by default. The useDeepLinkRedirector hook must be invoked by the component that calls PlaidLink.openLink."
Second, upgrade to the latest version of the React Native SDK, which has improved handling of OAuth redirects.
If neither of these suggestions works, please go ahead and submit a ticket to Plaid Support.
(Credit for this answer goes to Nathan from Plaid Developer Support, I am just passing along his troubleshooting suggestions!)
when login using Auth0 Webauth in React-Native it opens the browser for login.
I want to create a smooth login so that the user should not able to experienced whether I logged in using App or Browser jut like a webview anyone any idea?
Just to be clear are you asking if Auth0 supports doing this without a browser? Given that it's likely using OAuth2 or OpenID Connect then the short answer is no.
Further to that WebAuthn is a browser-based Javascript API so by definition would require a browser with these features to be available.
That said, there's probably nothing preventing you from implementing a native WebAuthn-like experience using CTAP2 (the protocol that sits underneath WebAuthn) directly or a platform-specific wrapper around the same.
I want to add persistent login functionality into my Flutter app similar to other apps like Instagram and Twitter without using Firebase and have been unable to find any resources that show me how to do so.
I'm very new to Flutter so please go easy on me. Thank you!
P.S Flutter doctor doesn't show any problems.
Do not ever use SharedPreference to store tokens. When you're developing a native android application you should use AccountManager. As for flutter use flutter_secure_storage. I've seen alot of teams using it to save auth tokens.
I am currently developing a mobile app in react native and using Auth0 for user management. I am using my own login, signup and forgot password screens instead of their lock widget. I was able to implement passwordless sms and email by calling their authentication api as well as account linking by using their management api. However, I am having difficulty authenticating in a user with their email and password through the api once they already have an account. It seems to me that there should be a single endpoint for this in which you include the email and password in the body of the request. I was wondering if anyone could help me understand how to simply login users using auth0's api. Thanks in advance.
Take a look at this react native (embedded login custom UI) sample (slightly dated) - wrote it around 6 months ago, but it should offer you good insights - https://github.com/auth0-samples/react-native-embedded-login
Sign in logic is here
Feel free to leave questions below.
For anyone who is still looking there is this step by step on their website on how to login with password via API: https://auth0.com/docs/get-started/authentication-and-authorization-flow/call-your-api-using-resource-owner-password-flow
And with this endpoint you can register a new account: https://auth0.com/docs/api/authentication#signup
I'm developing an application in Unity, primarily focusing on iOS right now.
For the backend, I decided to try out firebase since they have a Unity package and so far its been pretty painless.
Does a Google Signin option exist for Unity that doesnt involve GooglePlayGames (GPG)?
I'm not interested in integrating to that platform at all, Im really just after the Sign in feature so I can grab the user token and authenticate to Firebase.
I currently have GPG and Firebase up and running...and it works great.
My issue is that if a user is not a Google+ member, they cant authenticate since apparently GPG relies heavy on that.
All I'm really after is a solution for vanilla Google Login that would give me an auth token I can use in Firebase...
If you're familiar with Pokemon Go...a very similar login flow.
With that app i was able to use a google account that doesnt have google+ and everything worked fine.
First of all, don't use the Google Play games plugin; it doesn't work for iOS anyways if you don't have an existing Google Play games account via any Android device usage in past. Even for many Android users Play Games apps won't work because it's not packaged with every Android device.
However, I am using this Google Login Unity plugin in iOS & Android which is available in the Asset Store. It works really well.
https://www.assetstore.unity3d.com/en/content/94517