Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -784,11 +784,26 @@ linters:
list-mode: strict
files:
- '**/internal/identitybroker/adapter/**.go'
- '!**/internal/identitybroker/adapter/as1server/**.go'
- '!$test'
allow:
- $gostd
- github.com/stacklok/mecatl/internal/identitybroker$
- github.com/golang-jwt/jwt/v5$
# AS-1 is hosted on ToolHive's embedded authorization server; only the
# authorization server packages it constructs are allowed.
internal-identitybroker-adapter-as1server:
list-mode: strict
files:
- '**/internal/identitybroker/adapter/as1server/**.go'
- '!$test'
allow:
- $gostd
- github.com/stacklok/toolhive/pkg/authserver$
- github.com/stacklok/toolhive/pkg/authserver/runner$
- github.com/stacklok/toolhive/pkg/authserver/server/registration$
- github.com/stacklok/toolhive/pkg/authserver/storage$
- github.com/stacklok/toolhive/pkg/oauthproto$
# Only the composition root wires the identity broker's adapters; the
# rest of Mecatl reaches the broker through its authentication boundary.
internal-identitybroker-adapter-importers:
Expand Down
Loading
Loading