Skip to content

Commit

Permalink
Deprecate ExtAuthPlugin interface (#20)
Browse files Browse the repository at this point in the history
* mark deprecated, changelog

* add Passthrough docs link to changelog

* fix changelog formatting?

* unify language across PRs
  • Loading branch information
arianaw66 authored Nov 6, 2024
1 parent 9fbda61 commit 86d005a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ type AuthService interface {
Authorize(ctx context.Context, request *AuthorizationRequest) (*AuthorizationResponse, error)
}

// Deprecated: Prefer Passthrough Auth https://docs.solo.io/gloo-edge/latest/guides/security/auth/extauth/passthrough_auth/
// External authorization plugins must implement this interface
type ExtAuthPlugin interface {
// Gloo will deserialize the external authorization plugin configuration defined on your AuthConfig into the
Expand Down
5 changes: 5 additions & 0 deletions changelog/v0.2.3/deprecate-ExtAuthPlugin-interface.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: FIX
description: Mark ExtAuthPlugin interface as deprecated as we encourage users to use the safer alternative, [Passthrough Auth](https://docs.solo.io/gloo-edge/latest/guides/security/auth/extauth/passthrough_auth/).
issueLink: https://github.com/solo-io/solo-projects/issues/6961
resolvesIssue: false

0 comments on commit 86d005a

Please sign in to comment.