Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support organization_id on Ticket #195

Merged
merged 1 commit into from
Apr 17, 2023
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
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