Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

load non-scoped auth configs, scoped to default registry #16

Merged
merged 3 commits into from
Apr 23, 2021

Commits on Apr 23, 2021

  1. Configuration menu
    Copy the full SHA
    6595c31 View commit details
    Browse the repository at this point in the history
  2. Remove email from auth set, support scoped _auth

    The legacy CouchDB style registries require an email in order to
    authenticate.  However, the email itself is never used as part of the
    auth process after the initial account creation.  There is no need for
    it to be scoped to a given registry or required in order to use _auth
    with a base64 encoded username/password basic auth pair.
    
    Also, add support for a registry-scoped _auth field.  I'm not sure why
    that was removed in the first place, since npm-registry-fetch will parse
    it, so we need to be moving a top-level _auth field under the default
    registry, for all the same reasons we do so for tokens.
    isaacs committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    9936718 View commit details
    Browse the repository at this point in the history
  3. remove registry-specific always-auth field

    We don't actually use always-auth anymore.  There is no reason to manage
    it as part of the registry-specific auth keys.
    
    PR-URL: #16
    Credit: @isaacs
    Close: #16
    Reviewed-by: @wraithgar, @nlf
    isaacs committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    0ac3605 View commit details
    Browse the repository at this point in the history