iOS App How to Submit Google OAuth Verification to Use Google Calendar - ios

Hi While using Google Calendar in my iOS APP, the screen prompts a warning like as bellow
This app isn't verified by google yet...
only proceed if you know and trust the developer
To avoid this warning I need to submit my iOS App to Google OAuth Verification
I searched in different sites but i didn't get a clear doc to Submit An iOS App for Google OAuth Verification.
Could someone help to provide the steps/guidelines link to Submit An iOS App for Google OAuth Verification.
Thanks in advance...

Go to the google developer console Under credentials
You will find the consent screen tab
At the very bottom of this page you will find a button
Before submiting you should read though the information provided on that page along with the links
OAuth verification
To protect you and your users, your consent screen
and application may need to be verified by Google. Verification is
required if your app is marked as Public and at least one of the
following is true:
Your app uses a sensitive and/or restricted scope
Your app displays an icon on its OAuth consent screen
Your app has a large number of
authorized domains
You have made changes to a previously-verified
OAuth consent screen The verification process may take up to several
weeks, and you will receive email updates as it progresses. Learn more
about verification.
Before your consent screen and application are verified by Google, you
can still test your application with limitations. Learn more about how
your app will behave before it's verified.

Related

iOS Application rejected due to unable to access app with third party login services

I am working on iOS Application which has Login and Sign Up requirement before using application.
Login screen has four option to login:
Login with email & password
Login with Apple
Login with Facebook
Login with Google
Sign Up module is divided into multiple screens according to design of application. In third & last step of sign up, where we are collecting user's email, first name, last name etc, we are also showing third party login buttons for Apple, Facebook & Google to auto fill all the information from social accounts and later on, user can login with social accounts.
So, Apple Review Team just rejected our application because of the reasons:
Guideline 2.1 - Performance - App Completeness
We continue to discover one or more bugs in your app. Specifically, we were still unable to access your app with third party login services.
Actually they are trying to login with third party login services and getting error on login screen:
No profile exists against this account. Please sign up or use another account to continue.
Reason: They are trying to login with social accounts but they didn't signed up with social accounts first. To sign up with social accounts, they need to go to sign up screens (multiple screens involved) and enter all the required information. They are not going to sign up screens and tapping on social accounts buttons from login screen and asking that its not working.
Multiple versions of our application already accepted by Apple but this time they rejected application.
Has anyone else had faced a similar issue? They continuously rejecting application even I tried multiple times to explain the flow even by attaching video of social login and sign up process.
Thanks in advance!

Problem with "Sign in with Google temporarily disabled for this app"

My app has been OAuth verified for youtube and youtube.upload.
When I OAuth with these scopes, it's still not working.
I get the following in the web browser as before verification. They closed out my ticket, so I have no means to contact them.
Sign in with Google temporarily disabled for this app
This app has not been verified yet by Google in order to use Google Sign In.
If you are a developer for this application, please submit a verification request to re-enable Sign in with Google. Learn more
Please advise
Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In.
If you are a developer for this application, please submit a verification request to re-enable Sign in with Google. Learn more
The message you are getting clearly states the issue. Your application is not verified or its verification has bee removed. In order to fix this you must go thought he verification process. You might want to check your email and see if there is any messages from google as to why your verification was removed. I have seen several posts like this over the last week it seams Google may be going though projects.

Sign in with Google temporarily disabled for this app

We are facing the below screen when trying to authenticate to Google. The app that we are trying to authenticate is used for internal development and we did not publish it to our users.
Any idea why this occurs?
We faced an Unverified App screen before (as below) but now the authentication is disabled.
OAuth Client Verification
Starting July 18, 2017, Google OAuth clients that request certain sensitive OAuth scopes will be subject to review by Google.
OAuth Client Verification
Starting July 18, 2017, Google OAuth clients that request certain sensitive OAuth scopes will be subject to review by Google.
Review is not required if you are only using it under the same account as created the project in Google Developer console. You can read more about this change in this help center article.
This change applies to Google OAuth web clients, including those used by all Apps Script projects. By verifying your app with Google, you can remove the unverified app screen from your authorization flow and give your users confidence that your app is non-malicious.
Once you have applied for verification it takes around a week and it should start working.
I found this thread some time ago when this happened to us in our development project on Google Cloud Platform.
You can use a project for development without verification. No problem on that. But there are some limitations (more information here and here). Basically, we reached the limit of 100 users accessing the application. It was strange because we were testing with few accounts (5-6) until we found that, if you uninstall and install the application again, it counts as a new user. We were testing incremental authorization, so we uninstalled/installed the application a lot of times and we reached the quota.
When you reach this limit, you will see the message "Sign in with Google temporarily disabled for this app" and only users from the organization where the project is hosted can access the application. So we couldn't make test with our accounts from a demo domain or our Gmail accounts.
The only solution available was to pass the OAuth verification form (even if you didn't want to publish the application), but there were problems to do it. For example, it was mandatory to remove http://localhost from valid OAuth URLs. And more problems related with development.
❗ But this has changed recently. I have accessed to OAuth credentials screen in Google Cloud Platform (APIs & Services > Credentials > OAuth consent screen) during this week and now the page it's different. Now you don't need to specify "Authorised JavaScript origins" and "Authorised redirect URIs", you just need to specify your scopes for Google APIs and the Authorised domains. Then, at the bottom of the page you will find the button "Submit Verification" and the process will start. You will also find some information on the right:
About the consent screen
The consent screen tells your users who is requesting access to their data and what kind of data you're asking to
access.
OAuth Developer Verification
To protect you and your users, your
consent screen may need to be verified by Google. Without
verification, your users will see an additional page indicating that
your app is not verified by Google.
Verification is required if
Your application type is public, and You
add a sensitive scope Verification may take several days to complete.
You will receive email updates as it's processed.
Saving without publishing
Even though your consent screen is
unpublished, you can still test your application with users with the
following limitations:
Sensitive scopes are limited to 100 grant requests before verification
is required
Users see an additional page indicating that your app is
not verified by Google.
To include "Authorised Javascript Origins" and Authorised redirect URIs" you need to go to APIs & Services > Credentials and there click on your OAuth 2.0 client ID. There will be a form where you can add them.
In our case it took 1 day to get a response from Google. In the email there were some instructions to pass the verification. We had to reply the email with a video uploaded on YouTube addressing the following points:
How does user sign-up on your app and grants access to the sensitive scopes requested in verification?
OAuth consent screen as seen by end users
How does your application use the requested scopes to provide services to developers?
A test account email and the password for us to test the user sign-up process and validate the project's functionality.
We recorded a video showing points 1, 2 and 3 and sent them a test account for number 4.
After 1 day, we got another response from Google confirming that our project had been verified.
So finally the problem was solved! 🙂
I hope this could help people in the same situation. It was really annoying for us.
I had to go into my Google Apps Script settings and turn on the "Google Apps Script API" setting. Then I tried again, and the script executed correctly without issue.
I had used the script a couple of weeks ago and it worked fine, so something must have happened between then and now that changed it... Not sure what caused that setting to switch.

Google OAuth consent screen not showing app Logo only shows domain name

We are using oauth API for google sign in and configured app logo in https://console.developers.google.com. Also Submitted the app review form and domain verification. Still logo is not appearing in consent screen.
It looks like Google now requires developers to request verification of their app before they will show the logo.
See this SO thread for more details.

GMail API iOS Authorization

I am using the Gmail API in iOS with the code that is given on the link
https://developers.google.com/gmail/api/quickstart/ios?ver=swift
and I tried running the application on an iPhone but every time, when I start the application it is asking for a Google login for authorization.
The page at Google Developers says that:
Authorization information is stored in your Keychain, so subsequent executions will not prompt for authorization.
So my question is that for my application is the Keychain value not being stored, if so how can I correct it and if not what can be the possible error in the code that is in the link provided above?

Resources