Files
genai-toolbox/docs/authSources/google.md
Wenxin Du 8ca7e91240 docs: Add auth source docs (#132)
Add authsources and authenticated parameter docs. Format some other .md
docs.

---------

Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
2024-12-17 13:49:43 -05:00

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.