Guide implementation of OAuth 2.1 / OIDC authentication using Better Auth with the OIDC Provider plugin. Use this skill when setting up centralized authentication for multiple apps, implementing SSO across a platform, creating an OAuth authorization server, or integrating Better Auth as an identity provider. Covers PKCE for public clients, JWKS configuration, token management, email verification, and common pitfalls like preserving PKCE parameters during sign-in redirects.
$npx -y skills add mjunaidca/mjs-agent-skills --skill better-auth-setupInstalls into the current project.
Run `npx skills use "https://github.com/mjunaidca/mjs-agent-skills" --skill "mjunaidca/mjs-agent-skills/better-auth-setup"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mjunaidca/mjs-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/mjunaidca/mjs-agent-skills"` and select the relevant skills, then follow their instructions.