bknd-oauth-setup

Configure Google, GitHub, and custom OAuth providers in bknd.config.ts.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/cameronapak/melos --skill bknd-oauth-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bknd-oauth-setup
Source: https://github.com/cameronapak/melos/tree/main/.agents/skills/bknd-oauth-setup
Command: npx skills add https://github.com/cameronapak/melos --skill bknd-oauth-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers through configuring OAuth authentication providers for a Bknd application, enabling secure user login flows with minimal boilerplate.

Core Features & Use Cases

  • Google OAuth: enable Google as an identity provider, obtain client_id and client_secret, and configure bknd.config.ts for the oauth strategy.
  • GitHub OAuth: enable GitHub as an identity provider, set redirect URLs, and configure the corresponding bknd.config.ts block.
  • Custom OAuth Providers: add bespoke OAuth/OIDC providers using the custom_oauth strategy and supply endpoints, client credentials, and scopes.
  • Environment & Frontend Integration: declare credentials in .env and implement frontend login flows to start and complete the OAuth process.

Quick Start

Add an oauth configuration to bknd.config.ts, set up GCP/GitHub client IDs and secrets in .env, and use the frontend login flow to initiate authentication.

Frequently Asked Questions about bknd-oauth-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure OAuth providers in a Bknd application?

To configure OAuth providers in a Bknd application, add the oauth configuration block to bknd.config.ts, declare your client IDs and secrets in .env, and implement the frontend login flow to initiate authentication.

Can I set up Google OAuth and GitHub OAuth using bknd.config.ts?

Yes, you can set up Google OAuth and GitHub OAuth by adding the respective oauth strategy blocks to bknd.config.ts and supplying the necessary client_id and client_secret values from GCP and GitHub.

How do I add a custom OAuth or OIDC provider to Bknd?

You add a custom OAuth or OIDC provider to Bknd by using the custom_oauth strategy in bknd.config.ts and supplying the provider endpoints, client credentials, and required scopes.

What environment variables do I need for Bknd social login setup?

Bknd social login setup requires environment variables for your provider credentials, specifically the client ID and client secret, which must be declared in your .env file.

Does Bknd OAuth configuration support frontend integration across UI and code modes?

Yes, Bknd OAuth configuration supports frontend integration across both UI and code modes, providing documented endpoints and frontend usage to start and complete the OAuth login process.

What callback URLs are required for GitHub OAuth in a Bknd app?

GitHub OAuth in a Bknd app requires specific redirect URLs set within your GitHub developer settings to match the callback URLs defined during your bknd.config.ts setup.