management.ActionManager: Update methods to adhere with conventions (#247)management.Action: Nested structs use pointers.
management.OrganizationBranding:LogoUrlfield renamed toLogoURL(#246)management.OrganizationBranding:Colorstype changed tomap[string]interface{}management.OrganizationInvitation:InvitationUrlfield renamed toInvitationURLmanagement.OrganizationManager:Createmethod doesn't clear IDmanagement.OrganizationManager:Updatemethod accepts anidparameter as first argument and doesn't clearID,Namemanagement.OrganizationManager:UpdateConnectionmethod accepts anconnectionIDparameter and doesn't clearConnectionID,Connectionmanagement.OrganizationManager:CreateInvitationmethod accepts anidparameter as first argument and doesn't clearConnectionID
OrganizationInvitation.InvitationURL
management.RoleManager:Deletewould result in anjson.Unmarshal(nil)error (#232)
management.Organizations: Support for Auth0 Organizations (#216)management.CustomDomains: Support for TLS Policy & Custom Domain IP Header (#222)
management.AnomalyManager: Support forCheckIPandUnblockIP(#214)
management.Connection: Add support for Google Apps enterprise connection (#212)
management.Guardian: Fixed minor bug when unmarshalling Policy string array (#211)
NOTES:
- Added support for .env config file support (#210)
management.Connection: Add support for Auth0 SAML connection entityId option (#209)
management.SigningKey: Add support for listing, reading, rotating and revoking an Auth0 Tenant's signing key (#191)management.Grant: Support pagination response when listing Grants (#205)management.Guardian: Support to create a MFA enrollment ticket (#207)management.User: Support to retrieve blocked IP addresses & unblock users using username, phone number or email (#208)management.Connection: Support deny list (non persistent attributes) of attributes Auth0 stores per connection object (#203)
management.ConnectionOptionsOIDC: AddSetUserAttributesto OIDC Strategy
management.Connection: Change Metadata property to be string map (#160)management.Connection: Add Auth0 managed `ProvisioningTicketUrl to root connection object (#201)management.ConnectionOptions: Adds missing AzureAD connectionTrustEmailVerifiedoption (#198)management.ConnectionOptions: Add missing user fields provided by Twitter (#197)management.Guardian: Add MFA Enrollment to Guardian (#157)management.Guardian: Extend MFA SMS Providers (#200)management.Log: Add description field to Logs (#188)management.Prompt: Addsidentifier_firstto New Universal Login Prompt (#187)management.UserIdentity: AddAccessTokenSecretto User Identity (#196)management.UserIdentity: Add MFA Enrollments for a User (#157)
management.ConnectionOptions: Adds SetUserAttributes to ConnectionOptions to connections (#194)
management.ConnectionOptions: Adds set_user_root_attributes to more connections (#192)
management.ConnectionManager: Return nil when ConnectionManager.ReadByName() name field is empty (#186)
management.Ticket: Add fieldIncludeEmailInRedirect(#180)management.UserIdentity: Add fieldRefreshToken(#167)
management.ClientRefreshToken: AddInfiniteTokenLifetime,InfiniteIdleTokenLifetimeandIdleTokenLifetimefields (#184).management.User: Fix possible inconsistencies withEmailVerifiedfield (#181).
management.UserManager:Link()links two user accounts together (#178).
management.HookSecrets:HookSecretsare not a pointer anymore (#176).management.HookManager:ReplaceSecretsis introduced to enable PUT semantics for hook secrets (#176).management.TenantUniversalLoginColors: Marshal/unmarshal branding colors correctly (#177).
management.Branding: add support forBrandingUniversalLogin(#161).
management.ConnectionOptions: unmarshal options only if not nil (#165).management.HookManager.List: was using the wrong endpoint (162).management.ResourceServerManager.List: was using the wrong endpoint.
management.UserIdentity: AddAccessTokenfield (#113).management.ConnectionOptionsSAML: Add missingSetUserAttributesfield (#159).
management.WithInsecure: allow insecure HTTP scheme to enable testing / mocking.
management.LogStream: new resource now available (#144)
management.Tenant: changedSessionTimeoutandIdleSessionTimeouttofloat64. Values smaller than 1 will be marshalled with a_in_minutessuffix (#156).management.Connection: removedRawOptionsand handle (un-)marshalling internally.
management.RequestOption: renamed frommanagement.ListOptionand is now used with all requests to the Auth0 Management API (#151).management.ManagementOption: renamed from the privateapiOptionand added several more options.management.New: now takes only one mandatory argument (domain). Authentication can is configured usingWithClientCredentialsorWithStaticToken.management.Request,management.NewRequestandmanagement.Do: exposed a set of functions to allow more control over the request/response.
management.Job: Fix typo in JSON tag (#154).management.ConnectionOptionsOAuth2: AddAuthorizationURLandTokenURL(#147).
management.ConnectionOptions: Now supportsOAuth2connection type (#141).management.ConnectionOptionsSAML: Add missing options (#138).
management.User: addLastIPandLoginsCountfields (#137).
management.ConnectionOptionsOIDC: add missingScopes()andSetScopes()methods.
management.ConnectionOptions*:SetScopes()was ignoring theenableargument.
management.UserManager:Roles()returnsRoleList(#109).management.UserManager:Permissions()returnsPermissionList.management.RoleManager:Users()returnsUserList.management.RoleManager:Permissions()returnsPermissionList.
management.Branding: Support for bothBrandingColors.PageBackgroundGradientas well asBrandingColors.PageBackground. (#99)
management.ConnectionOptionsEmail,management.ConnectionOptionsSMS: addauthParams.management.UserIdentity: correctly marshal/unmarshal integeruser_id's (#101, #102).
management.Tenant: Adduse_scope_descriptions_for_consentflag.
- Breaking Change:
Connection.Optionsis now aninterface{}accepting different types depending on the strategy.