Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures Butterbase OAuth providers, post-login auth hooks, JWT lifetimes, and service API keys via manage_oauth and manage_auth_config.
50% 86%+36 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 11 of 22 without it.
If docs/butterbase/00-state.md exists in our workspace directory and we want to perform authentication setup, what journey route should be invoked?
Recommends invoking via /butterbase-skills:journey-auth when state file is present
3 of 3 safety checks passed
Two umbrella tools cover end-user authentication:
manage_oauth — provider configuration (Google, GitHub, Apple, X, custom)manage_auth_config — auth hooks, JWT lifetimes, service key generationFor broad app build-out, see also butterbase-skills:build-app. This skill is the deep dive.
Every request runs under one of three database roles:
| Auth header | Role | current_user_id() | RLS |
|---|---|---|---|
| none | butterbase_anon | NULL | enforced; default deny |
End-user JWT (issued by manage_oauth or email login) | butterbase_user | user UUID | enforced |
Service key (bb_sk_*) | butterbase_service | NULL | bypassed |
Auth is what transforms a request into the right role. RLS is what filters the data. Both must be configured.
manage_oauth({
app_id: "app_abc123",
action: "configure",
provider: "google",
client_id: "123456789.apps.googleusercontent.com",
client_secret: "GOCSPX-...",
redirect_uris: ["https://api.butterbase.ai/auth/app_abc123/oauth/google/callback"]
// scopes / authorization_url / token_url / userinfo_url / provider_metadata are auto-filled for built-in providers
})
Built-in providers (URLs and scopes pre-filled): google, github, discord, facebook, linkedin, microsoft, apple, x.
Next to this one in the catalogue, plus more from the same author.