new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Better Auth · Authentication · all subjects

social sign-on/kick

6 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Kick provider credentials source

To use Kick sign in, client ID and client secret are required from the Kick Developer Portal at https://kick.com/settings/developer.

Kick redirect URL configuration

The redirect URL must be set to http://localhost:3000/api/auth/callback/kick for local development. For production, update it to match your application's URL. If you change the base path of the auth routes, the redirect URL must be updated accordingly.

Kick provider configuration in betterAuth

Import betterAuth and configure the Kick provider by passing an object with clientId and clientSecret from environment variables to the socialProviders.kick property in the auth instance configuration.

Kick provider configuration code example

```ts import { betterAuth } from "better-auth" export const auth = betterAuth({ socialProviders: { kick: { clientId: process.env.KICK_CLIENT_ID as string, clientSecret: process.env.KICK_CLIENT_SECRET as string, }, } }) ```

Kick sign in with client

To sign in with Kick, use authClient.signIn.social() with provider set to "kick". This function is available from the createAuthClient() instance.

Kick sign in code example

```ts import { createAuthClient } from "better-auth/client" const authClient = createAuthClient() const signIn = async () => { const data = await authClient.signIn.social({ provider: "kick" }) } ```

Give your agent this brain