• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / nats-server / 10174191493

30 Jul 2024 05:10PM CUT coverage: 85.068% (+0.03%) from 85.043%
10174191493

push

github

web-flow
[auth-callout] Support opt-in list of accounts to be delegated in config-mode (#5724)

This introduces a new `auth_callout` field `allowed_accounts` which
enables explicitly listing which accounts in the server config should be
delegated to the auth callout service.

This improves the current behavior which is an all-or-nothing switch
over from config auth to auth callout.

The primary motivation for this change is to enable the system account
to authenticate against the server rather than being dependent on the
availability of the auth callout service.

(For reference the name `allowed_accounts` [matches what exists in
nsc](https://github.com/nats-io/nsc/blob/main/cmd/editauthorization.go#L33))

66059 of 77654 relevant lines covered (85.07%)

1442759.33 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.24
/src/github.com/nats-io/nats-server/server/auth.go


Source Not Available

The file "src/github.com/nats-io/nats-server/server/auth.go" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc