Google OIDC setup¶
- Open Google Cloud Console and create/select a project.
- Go to APIs & Services → OAuth consent screen and configure the app.
- Go to APIs & Services → Credentials → Create Credentials → OAuth client ID.
- Choose Web application and add this redirect URI:
http://localhost:8080/login/oauth2/code/google- Copy the generated client credentials and set:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRET
Default authorization endpoint in LeaveMaster:
http://localhost:8080/oauth2/authorization/google