• Sean McGivern's avatar
    Handle basic auth with PAT for Rack Attack · c916f0c2
    Sean McGivern authored
    API routes which mimic external APIs - things like NuGet, our Go proxy,
    and our Terraform API - often allow a personal access token to be passed
    in basic auth.
    
    We weren't handling that case in Rack Attack, which meant those requests
    were being handled by the unauthenticated throttle even when they were
    authenticated.
    c916f0c2
request_authenticator_spec.rb 5.83 KB