Click on Credentials under APIs & Services in the left menu.
Click + CREATE CREDENTIALS and then OAuth client ID in the top menu.
On the Create OAuth client ID page for Application Type select Web application.
Under Authorized JavaScript origins, add your project’s redirect URL for the Google sign-in method in the following format: https://<subdomain>.auth.<region>.nhost.run
Under Authorized redirect URIs add your OAuth Callback URL from Nhost.