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/roblox

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

Roblox credentials location

Roblox credentials can be obtained from the Roblox Creator Hub at https://create.roblox.com/dashboard/credentials?activeTab=OAuthTab.

Roblox redirect URL for local development

For local development, the Roblox redirect URL must be set to http://localhost:3000/api/auth/callback/roblox. For production, it should be set to the URL of the application, and if the base path of the auth routes is changed, the redirect URL must be updated accordingly.

Roblox API does not provide email addresses

The Roblox API does not provide email addresses. As a workaround, the user's email field uses the preferred_username value instead.

Roblox provider configuration

To configure the Roblox provider, import betterAuth and pass the provider configuration to the socialProviders option. The configuration requires clientId and clientSecret environment variables set as: socialProviders: { roblox: { clientId: process.env.ROBLOX_CLIENT_ID as string, clientSecret: process.env.ROBLOX_CLIENT_SECRET as string } }

Roblox sign in with client

To sign in with Roblox on the client side, use the signIn.social function from the auth client with the provider set to 'roblox': authClient.signIn.social({ provider: 'roblox' })

Give your agent this brain