auth

Configure LibreChat authentication across OAuth2/OIDC, SAML, LDAP, and social login providers.

2|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/bethanychamberlain/claude-skills-librechat --skill auth-bethanychamberlain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth
Source: https://github.com/bethanychamberlain/claude-skills-librechat/tree/main/librechat-security/skills/auth
Command: npx skills add https://github.com/bethanychamberlain/claude-skills-librechat --skill auth-bethanychamberlain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies and secures LibreChat authentication by guiding admin setup and troubleshooting across multiple providers (OAuth2/OIDC, SAML, LDAP, and social logins), reducing misconfigurations and login failures.

Core Features & Use Cases

  • Configure OAuth2/OIDC providers (Azure Entra ID, Google, GitHub, Keycloak, Auth0) and SAML/LDAP as needed.
  • Enable and manage social logins, and enforce email verification.
  • Troubleshoot common login issues (redirect loops, 401s, blank login screens) with guided steps and templates.
  • Generate ready-to-use .env configurations and restart commands; verify login end-to-end.
  • Use provider reference docs and templates to streamline deployment across environments.

Quick Start

Ask me to set up Google OAuth for LibreChat.

Frequently Asked Questions about auth

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

FAQPage Schema
How do I set up Google OAuth2 for LibreChat authentication?

Set up Google OAuth2 for LibreChat authentication by defining the required environment variables for your provider configuration, then restarting the instance. This Skill generates ready-to-use .env configurations and verification steps to ensure a successful deployment.

Can I configure Azure Entra ID OIDC and SAML logins for LibreChat?

Yes, you can configure Azure Entra ID OIDC and SAML logins for LibreChat. This Skill guides you through setting up multiple providers, defining environment variables, and applying provider configurations for enterprise deployments.

Why does LibreChat show a blank login screen or redirect loop after configuring social logins?

LibreChat shows a blank login screen or redirect loop after configuring social logins due to misconfigured environment variables. This Skill diagnoses login failures using guided steps, debug options, and templates to correct provider configurations.

Does this Skill support troubleshooting LDAP authentication failures in LibreChat?

Yes, this Skill supports troubleshooting LDAP authentication failures in LibreChat. It diagnoses login issues like 401 errors and redirect loops by guiding you through debug options, environment variables, and verification steps.

What is the best way to secure LibreChat with multi-provider logins?

The best way to secure LibreChat with multi-provider logins is configuring OAuth2/OIDC, SAML, and LDAP across providers like GitHub and Auth0. This Skill simplifies setup by generating .env configurations and enforcing email verification.

Do I need to define environment variables separately for each LibreChat authentication provider?

Yes, you need to define environment variables separately for each LibreChat authentication provider. This Skill provides templates and references to streamline defining provider configurations across OAuth2, SAML, and LDAP environments.