Authentication Configuration
SkillHub supports multiple authentication methods to meet different enterprise security requirements.
OAuth2 Login
GitHub OAuth
- Create an OAuth App on GitHub
- Configure environment variables:
OAUTH2_GITHUB_CLIENT_ID=your-client-idOAUTH2_GITHUB_CLIENT_SECRET=your-client-secret
Extend OAuth Provider
The architecture supports extending to other OAuth providers like GitLab, Gitee, etc.
Local Account Login
Local account login is supported in development environment, disabled by default in production.
Enterprise SSO Integration
Supports integrating enterprise SSO (SAML/OIDC) through extension points.
Next Steps
- Authorization - Configure access control