Skip to content

Commit

Permalink
Support organization_id on Ticket (#195)
Browse files Browse the repository at this point in the history
Closes #192
  • Loading branch information
ewanharris authored Apr 17, 2023
1 parent 8f9db60 commit 41597ea
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions management/management.gen.go

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

10 changes: 10 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.

8 changes: 8 additions & 0 deletions management/ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ type Ticket struct {
// Whether to include the email address as part of the returnUrl in
// the reset_email (true), or not (false - default).
IncludeEmailInRedirect *bool `json:"includeEmailInRedirect,omitempty"`

// The ID of the Organization. If provided, organization parameters will be made
// available to the email template and organization branding will be applied to the
// prompt. In addition, the redirect link in the prompt will include organization_id
// and organization_name query string parameters.
//
// Conflicts with: ResultURL
OrganizationID *string `json:"organization_id,omitempty"`
}

// TicketManager manages Auth0 Ticket resources.
Expand Down

0 comments on commit 41597ea

Please sign in to comment.