This is a simple Github Authentication plugin for verdaccio.
github-auth:org: cthos # OPTIONAL: Filter the user's teams to this organizationmode: token # token or basic. Token expects an auth token as the password. Basic is raw username/password for github. DEFAULT: tokencachettl: 5 # OPTIONAL: How long to cache the user's teams in minutes. DEFAULT: 5orgmode: true # OPTIONAL: allow orgs to be placed in the `access` stanza.'**':# Access is determined by team permissions, but github username is also valid.access: team1 team2 awesomteam cthos'@volcano/*':access: org:volcano # allows access to everyone in the volcano org
- You cannot use
basicwith 2FA as far as I'm aware - you'd need to use the token type.
- The personal access token needs
- Teams are cached in Memory, so a lot of users could result in high memory usage and I've not profiled the impact.