@gzl10/nexus-plugin-auth-providers
v0.16.5
Published
Consolidated auth providers plugin for Nexus BaaS (Google, GitHub, GitLab, Microsoft, PocketID, Generic OIDC)
Downloads
712
Readme
@gzl10/nexus-plugin-auth-providers
Consolidated OAuth/OIDC authentication providers for Nexus BaaS.
Features
- Google OAuth
- GitHub OAuth
- GitLab OAuth
- Microsoft OAuth
- PocketID
- Generic OIDC provider
Install
nexus plugin add @gzl10/nexus-plugin-auth-providersConfiguration
| Variable | Required | Description |
|----------|----------|-------------|
| GOOGLE_CLIENT_ID | No | Google OAuth client ID |
| GOOGLE_CLIENT_SECRET | No | Google OAuth client secret |
| GITHUB_CLIENT_ID | No | GitHub OAuth client ID |
| GITHUB_CLIENT_SECRET | No | GitHub OAuth client secret |
| GITLAB_CLIENT_ID | No | GitLab OAuth client ID |
| GITLAB_CLIENT_SECRET | No | GitLab OAuth client secret |
| GITLAB_URL | No | GitLab instance URL (default: gitlab.com) |
| MICROSOFT_CLIENT_ID | No | Microsoft OAuth client ID |
| MICROSOFT_CLIENT_SECRET | No | Microsoft OAuth client secret |
| MICROSOFT_TENANT_ID | No | Microsoft tenant ID (default: common) |
| POCKETID_URL | No | PocketID instance URL |
| POCKETID_CLIENT_ID | No | PocketID client ID |
| POCKETID_CLIENT_SECRET | No | PocketID client secret |
| OIDC_ISSUER_URL | No | OIDC issuer URL |
| OIDC_CLIENT_ID | No | OIDC client ID |
| OIDC_CLIENT_SECRET | No | OIDC client secret |
Providers are auto-discovered — configure the environment variables for the providers you want to enable.
Funding
If you find this plugin useful, consider supporting its development:
