To get credentials from Google for OAuth, follow these steps:
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Go to the Credentials page.
- Click on Create credentials and select OAuth client ID.
- Select Web application as the application type.
- Enter a name for your application.
- Add
http://localhost:5173as a Authorized redirect URI. - Click on Create and you will see your credentials.
- Copy the Client ID and Client Secret and save them somewhere safe.
- You can now use these credentials to authenticate with Google.