Skip to content

Commit

Permalink
Support configuring Back-Channel Logout URLs for a Client (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris authored May 11, 2023
1 parent ebeeacc commit 965c83f
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
8 changes: 8 additions & 0 deletions management/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ type Client struct {

// If `true` then the client will require Pushed Authorization Requests
RequirePushedAuthorizationRequests *bool `json:"require_pushed_authorization_requests,omitempty"`

// URLs that are valid to call back from Auth0 for OIDC backchannel logout.
OIDCBackchannelLogout *OIDCBackchannelLogout `json:"oidc_backchannel_logout,omitempty"`
}

// ClientJWTConfiguration is used to configure JWT settings for our Client.
Expand Down Expand Up @@ -219,6 +222,11 @@ type PrivateKeyJWT struct {
Credentials *[]Credential `json:"credentials,omitempty"`
}

// OIDCBackchannelLogout defines the `oidc_backchannel_logout` settings for the client.
type OIDCBackchannelLogout struct {
BackChannelLogoutURLs *[]string `json:"backchannel_logout_urls,omitempty"`
}

// ClientList is a list of Clients.
type ClientList struct {
List
Expand Down
21 changes: 21 additions & 0 deletions management/management.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions management/management.gen_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 965c83f

Please sign in to comment.