Integrate Google’s social connection with your app using Corbado by configuring the Client ID and Client Secret in your Corbado project’s settings.For a streamlined development experience, Corbado provides preconfigured shared OAuth credentials and redirect URIs for development instances, which require no further setup.However, for production environments, it is necessary to establish your own Google developer account and generate unique OAuth credentials.
Open the Google Cloud Platform console in a new window. Select your project and enable OAuth 2.0 support as per the official setup instructions. In the “Authorized redirect URIs” section, paste the URI copied from the Corbado developer panel.
Create an OAuth client ID in the Google Cloud console. Once created, copy the Client ID and Client Secret.
Return to the Corbado developer panel, and in the modal window, paste the Client ID and Client Secret you just obtained.
Be aware that Google OAuth apps start in “Testing” status, which is suitable for internal testing and limits to 100 test users.
Before transitioning to production, adjust the publishing status to “In Production” on the OAuth consent screen in the Google Cloud Platform console.
This change necessitates a verification process concerning your application’s name, logo, and requested scopes.