Skip to content

Refactor Mappings in SAML2ClientAddon from map[string]string to map[string]interface{} for enhanced flexibility #533

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion management/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,9 @@ type SalesforceSandboxAPIClientAddon struct {
type SAML2ClientAddon struct {
// The mappings between the Auth0 user profile and the output attributes on the SAML Assertion.
// Each "name" represents the property name on the Auth0 user profile.
// Each "value" can be a string or an array of strings if multiple values are expected.
// Each "value" is the name (including namespace) for the resulting SAML attribute in the assertion.
Mappings *map[string]string `json:"mappings,omitempty"`
Mappings *map[string]interface{} `json:"mappings,omitempty"`
// The audience of the SAML Assertion.
Audience *string `json:"audience,omitempty"`
// The recipient of the SAML Assertion.
Expand Down
4 changes: 2 additions & 2 deletions management/management.gen.go

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

2 changes: 1 addition & 1 deletion management/management.gen_test.go

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

Loading