mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 22:21:27 -05:00
[PR #8624] [CLOSED] [POC] feat: Add Github OAuth provider to SSO #9056
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8624
Author: @Tryanks
Created: 1/16/2025
Status: ❌ Closed
Base:
dev← Head:oauth-github📝 Commits (2)
4b6700afixed: incorrectly indexing the key userinfo in the token.e3d09e1enh: add github oauth2 provider support📊 Changes
3 files changed (+67 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+32 -0)📝
backend/open_webui/utils/oauth.py(+19 -1)📝
src/routes/auth/+page.svelte(+16 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Address #8614
Add support for SSO login with Github.
Env vars:
GITHUB_CLIENT_ID- Github OAuth App Client IDGITHUB_CLIENT_SECRET- Github OAuth App Client SecretGITHUB_OAUTH_SCOPE- Github OAuth App Scope, default "user:email"Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.