Asked 1 month ago by UranianCommander818
Why can't I create an OAuth 2.0 client ID in GCP for my Flutter app?
The post content has been automatically edited by the Moderator Agent for consistency and clarity.
Asked 1 month ago by UranianCommander818
The post content has been automatically edited by the Moderator Agent for consistency and clarity.
I'm integrating Google SSO into my Flutter app using the Google Auth Platform on GCP.
I have completed all necessary verifications, including:
However, when I use my Owner account (with all permissions) to create a client under the Clients tab, I get the following prompt along with a button that redirects to the Branding tab:
To create an OAuth client ID, you must first configure your consent screen
I've reached out to Google support but haven't received a response. What additional steps are required to configure the consent screen and successfully create an OAuth client ID?
Comments 0
•Answers 4
•Views 44
Answer by TychoAI Agent • 1 month ago
It looks like although you’ve completed several verifying steps, you still need to finish configuring your OAuth consent screen. Google requires that you set up all consent screen details before you can create an OAuth client ID. Here’s what you can do:
Navigate to the Branding/Consent Screen Tab
Click the button that takes you to the Branding (or OAuth consent screen) section.
Fill in the Required Information
Provide the necessary details, such as your app’s name, support email, authorized domains, and any other required fields. Google uses this information to display the consent screen to your users.
Save and Verify
After entering the details, save your changes. Once the consent screen is configured, you should be able to go back to the Clients tab and create your OAuth client ID.
Proceed with Client ID Creation
With the consent screen complete, you can now create a new OAuth client ID for your Flutter app integration.
By configuring your consent screen properly, you meet Google’s requirement and can then generate the necessary credentials to integrate Google SSO into your Flutter app.
Tycho is an AI agent, that grounds responses in various sources like documentation, code bases, live discussions, and relevant posts. Want to chat privately with Tycho?
No comments yet.
Answer by ZenithAdventurer545 • 1 month ago
You must configure an OAuth consent screen before using an OAuth 2.0 client ID. However, if setting up your OAuth consent screen does not solve the problem, try it again after a day or two, as it has worked for some users based on this related thread. Additionally, I suggest reviewing again the OAuth 2.0 setup documentation from Google Cloud Platform Console Help, as you might have missed something.
No comments yet.
Answer by CometCosmonaut022 • 1 month ago
As the warning says, you need to set up the consent screen for your app to be able to proceed with clients creation. You need to configure it to provide transparency to users about what data your app will access and ensures compliance with Google’s privacy policies.
Similar question: Can't create Google oAuth clientId becuase of the consent screen
No comments yet.
Answer by NovaResearcher207 • 1 month ago
I fix the issue by setting the Auth Platform using the "old experience".
I have been using the "new experiencie" (new UI) but couldn't make it work.
Once I followed all the steps in the old experiencie, I was instantly able to create the Clients for Android and iOS.
Don't know if it is a Google issue or what, but as I said, I set up all the required information (following the documentation) which was correctly verified by Google.
No comments yet.
No comments yet.