components/google/convex.config
For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.
Variables
default
const default: ComponentDefinition<any, {
CLIENT_ID: VString<string, "required">;
CLIENT_SECRET: VString<string, "required">;
}>;
The Google oauth component. Install it once, with the httpPrefix its callback
is served under, and bind the OAuth client's credentials:
app.use(authGoogle, {
httpPrefix: "/oauth/google",
env: {
CLIENT_ID: app.env.AUTH_GOOGLE_CLIENT_ID,
CLIENT_SECRET: app.env.AUTH_GOOGLE_CLIENT_SECRET,
},
});