Turn on Google sign-in
appAuthConfigureWrite Tofu’s Google client into one owned app’s own auth service (Sign-in page), where the account’s plan includes sign-in. Requires confirmed: true, representing the human’s agreement to enable sign-in for this exact projectId: an earlier deploy, scan or database create is not that agreement, and without the literal nothing is sent. It answers as appAuthStatus does: its message ends by saying whether Tofu’s broker would start a Google sign-in for the app now. An interrupted write may have been applied with its answer lost; a failure result alone does not establish the app’s current configuration, which appAuthStatus reads live. It never returns the OAuth client secret and changes only the named app. Tofu’s broker needs no per-app Google Cloud step and consoleStep is always null, so neither says whether sign-in works: a person in appUsersList whose methods include google, with a lastSignInAt later than their attempt, has signed in with Google.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"confirmed": "<confirmed>"
},
"name": "appAuthConfigure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| enabled | Yes | ||
| message | Yes | ||
| siteUrl | Yes | ||
| nextSteps | Yes | ||
| providers | Yes |