Skip to content

Commit

Permalink
updated GitHub auth for enterprise login.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubentalstra committed Feb 3, 2025
1 parent 6892267 commit 3672861
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Learn how to configure LibreChat to use GitHub for user authenticat
## Create a GitHub Application

- Go to your **[Github Developer settings](https://github.com/settings/apps)**
- Create a new Github app
- Create a new GitHub app

![image](https://github.com/danny-avila/LibreChat/assets/138638445/3a8b88e7-78f8-426e-bfc2-c5e3f8b21ccb)

Expand Down Expand Up @@ -57,8 +57,13 @@ DOMAIN_SERVER=https://your-domain.com # use http://localhost:3080 if not using a
GITHUB_CLIENT_ID=your_client_id
GITHUB_CLIENT_SECRET=your_client_secret
GITHUB_CALLBACK_URL=/oauth/github/callback

# GitHub Enterprise (optional)
# Uncomment and configure the following if you are using GitHub Enterprise for authentication
# GITHUB_ENTERPRISE_BASE_URL=https://your-ghe-instance.com
# GITHUB_ENTERPRISE_USER_AGENT=YourEnterpriseAppName
```

- Save the `.env` file

> Note: If using docker, run `docker compose up -d` to apply the .env configuration changes
> **Note:** If using Docker, run `docker compose up -d` to apply the .env configuration changes

0 comments on commit 3672861

Please sign in to comment.