mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-12 16:15:00 -05:00
Add authsources and authenticated parameter docs. Format some other .md docs. --------- Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
1.1 KiB
1.1 KiB
Google OAuth 2.0
To use Google as your Toolbox authentication provider, you could integrate
Google sign-in into your application by following this
guide. After
setting up the Google sign-in workflow, you should have registered your
application and retrieved a Client
ID.
Configure your auth source in tools.yaml with the Client ID.
Example
authSources:
my-google-auth:
kind: google
clientId: YOUR_GOOGLE_CLIENT_ID
Reference
| field | type | required | description |
|---|---|---|---|
| kind | string | true | Must be "google". |
| clientId | string | true | Client ID of your application from registering your application. |