Obtain OAuth 2.0 credentials from the Google API Console.
Visit the Google API Console to obtain OAuth 2.0 credentials such as a client ID and client secret
that are known to both Google and your application. The set of values varies based on what type of application you are building.
For example, a JavaScript application does not require a secret, but a web server application does.
Login with a valid Google Account
Click on Createproject
give the project a name like geoserver-oidc and press “Create”
Click on Credencials (left column)
Click on “+ Create credentials” (top bar)
Choose “OAuth client ID”
Click on “Configure consent Screen”
Press “Get Started”
Type in an “App name” (like “test-gs”), choose your Email address, and then press “Next”
In the Audience section, choose “External” then press “Next”
Type in a contact email, then press “Next”
Agree to the terms, then press “Continue”, and then “Create”
Go to Clients (Left Bar), press the 3-vertical-dots ,and then press “+ Create Client”
Choose “Web Application” and name the web application (i.e. “gs test app”)
On the left bar under “Security”, click “Authentication”, and then “OpenID Connect Login”
Give the it a name like “test-google”, then click the “Google Login” checkbox and copy-and-paste in the Client ID and Client Secret (from when you configured the google client).
Go down to the bottom and configure the role source (if you want) - see role source