Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
Improve this question
I've implemented Firebase Authentication into my iOS app for user sign-in. I've enabled Sign In With Apple and Google OAuth.
With Apple sign-in I didn't ask to collect email addresses, so in the Firebase Console these users just show up with a User UID. But Google OAuth users show up with a UID and an email address.
Is there a way to disable email collection for these Google OAuth users? I don't want to collect email addresses - I don't need them and I dislike collecting more than I need to.
yes and no.
Hehe Firebase Auth requires an email to create user method, but given that this process doesn’t validate that the email actually exists you can just add something like:
var username= username + “#anything.com”
Also there is an example to do this here:
https://github.com/firebase/functions-samples/tree/Node-8/username-password-auth
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
What I am attempting to do is make a verification website for my Discord server that prompts you to do a captcha, after that redirects you to a Discord application oauth2 page then after you connect my bot inside the server will automatically give you a role "Verified".
I just wanted to know if it was possible and if so how?
Captcha before redirect
OAuth2 page
Yes, it is possible.
You should use express or http as a backend, and when the user joins, DM them a URL to the captcha. You could link the username to the URL, and once they complete the captcha, you should redirect them to the oauth2 page. Once those 2 requirements are complete, make the bot assign them a role.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I was wondering if somebody could explain to me the benefits and drawbacks of using Client IDs vs. using a Google Service Account if I want to integrate Google Calendar API into my app.
This video did not explain the benefits/drawbacks very clearly:
https://www.youtube.com/watch?v=4lVSLsE7z8U
I also read this post. What's the difference between api key, client id and service account?
It says that if I use Client IDs, then the user would be granting the app access to some of his/her Google Account's info.
However, I would like more concrete examples of what I would be able to do/accomplish or not do/accomplish as a developer using Client IDs vs using Google Service Account. In the context of integrating Google Calendar API.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Previously, we implement facebook login to enter our app. But we to also implement Sign in with Apple.
We want to simplify our user journey, so we plan to change our sign in policy by using phone number only. Are we also required to implement sign in with Apple in this case?
No, you are not required to offer "sign in with apple" in that case:
https://developer.apple.com/app-store/review/guidelines/#sign-in-with-apple
Apps that use a third-party or social login service (such as Facebook Login, Google Sign-In, Sign in with Twitter, Sign In with LinkedIn, Login with Amazon, or WeChat Login) to set up or authenticate the user’s primary account with the app must also offer Sign in with Apple as an equivalent option. A user’s primary account is the account they establish with your app for the purposes of identifying themselves, signing in, and accessing your features and associated services.
Sign in with Apple is not required if:
Your app exclusively uses your company’s own account setup and sign-in systems.
[...]
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We need access token with google silent login. Don't want to show login screen. We want to do login in the background.
In any social media login integration, we get access token by signing to that media and for that it is required to authenticate user using login page of that media. And then we get access token with all given information of that social media like google sign In, facebook sign in and twitter login etc.
You always need the users consent the first time he signs in.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am a newbie of user authentication, currently I am playing around with Azure AD B2C, it seems good but I want to create native pages in my app for user sign up and login instead of using the azure policy, so I want to implement this function in my app:
A user can sign up in to my app by filling his email and password, and then, a set of optional profile attributes. He also can login in to my app by using Facebook or Google, etc; and in the first time login, my app will ask the user to fill in the user profile and create an account for him in my app. So the user will eventually have an account for my app. I think this is very common in mobile apps, but I just don't know what is its structure and how it works, here is an example:
Adobe XD sign up or login page
The other question is how the server should verify a request sent by a user? Does it need to verify the Facebook access token, Google access token or my app access token embedded in the request separately? Or is there a way to safely verify the user identity in the same way?
I don't know how to put all the things together to make an app, please tell me how to implement it, or which services (like azure ad b2c) can satisfy my need, or please recommend some open source ios app projects which implement this function.
Thanks a lot, I've been thinking this problem for a couple of days :/
You should decide what solution would you like to use: your own solution or external, free or commercial. I can suggest you to take a look to https://auth0.com. They have manual for iOS: https://auth0.com/docs/quickstart/native/ios-swift/getting-started. Also you can find a lot of examples how to use auth0 in Internet.
Please be careful if you will use Facebook and Google APIs. Someday we had an error in our application because of gender field. Facebook API return MALE/FEMALE, but Google also have OTHER and this caused an error - on our side we had only MALE/FEMALE gender in our Enumeration and no OTHER type (gender validation failed because of this).