Skip to content

Commit

Permalink
Support organization_id on Ticket
Browse files Browse the repository at this point in the history
Closes #192
  • Loading branch information
ewanharris committed Apr 17, 2023
1 parent 8f9db60 commit 8a2c88a
Showing 1 changed file with 8 additions and 0 deletions.
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 8a2c88a

Please sign in to comment.