GoogleAuthCredentials
data class GoogleAuthCredentials(val serverId: String, val redirectUri: String = "http://localhost:8080/callback")
Google Auth Credentials holder class.
Parameters
serverId
This should be Web Client Id that you created in Google OAuth page
redirectUri
Desktop (JVM) only. The OAuth loopback redirect URI, e.g.
http://localhost:8080/callbackorhttp://127.0.0.1:9000/oauth2. It must be anhttploopback URL (localhost/127.0.0.1) with an explicit port and match an Authorized redirect URI registered for your OAuth client in the Google Cloud console — Google's Web clients reject unregistered URIs withredirect_uri_mismatch. The desktop flow binds a local callback server to the URI's port, so the port must be free and known ahead of time. Defaults tohttp://localhost:8080/callback. Ignored on Android, iOS, JS and wasmJs (those platforms don't run a loopback server).