#360

Reject unknown GitHub tokens in strict mode

Openjychpwants to merge intofrom
  • Add github.strict_scopes: a token that does not come from seed config, server options, an OAuth exchange, or an installation token request returns 401 Bad credentials instead of acting as the default user, and HTTP Basic is accepted only with a configured OAuth app's client credentials, which act as the app without a user.
  • Keep the fallback in the default mode, with regression coverage and docs.

References:

Fixes #359

Activity

11
vercel[bot]2d ago

@jychp is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago