💻 Tech
If you’re using go-auth0 to get the option of a SAML connection, use *management.ConnectionOptionsSAML to assert the value of the connection option.
All connections, whether if it’s SAML or not, contain the options field with the definition below. To get the specific type used by your connection option, use fmt.Printf("%T", connection.Option) then use that struct to assert your option from the generic interface below to a concrete type.
Options interface{} `json:"-"`