feat: sync beta to v3 (v3.0.0 + v3.1.0 stable content) and add B2B integration config - #836
Merged
Conversation
…ntegration config Bring the beta branch up from v2.15.0-beta.0 to the v3 line, moving the module path from github.com/auth0/go-auth0/v2 to /v3 and carrying the stable v3.0.0 and v3.1.0 content that had not yet reached beta. Add a beta-specific B2B integration configuration (b2b_integration_configuration field with sso_profiles) on the client and client create/update requests. Restore the beta-track docs dropped during the sync (README Beta SDK section, CONTRIBUTING and AGENTS versioning examples) on the v3 module path, and make compute-next-version derive the major from go.mod so future major bumps need no manual change. Leave .version, meta.go, and CHANGELOG.md for the beta auto-release workflow to stamp on merge.
ramya18101
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
Brings the
betabranch up fromv2.15.0-beta.0to the v3 line, carrying the full stablev3.0.0andv3.1.0content on the new module path, plus one beta-specific addition. Beta's existing endpoints are unchanged; the Experimentation API (shipped inv2.14.0-beta.0) only moves import paths here.Module path (breaking)
github.com/auth0/go-auth0/v2togithub.com/auth0/go-auth0/v3. Every import is updated andgo.moddependencies are refreshed.v3.0.0 stable highlights (mirrored from
main)Breaking changes:
Users.FederatedConnectionsTokensetssub-client (List,Delete) and theFederatedConnectionTokenSettype.ConnectionFederatedConnectionsAccessTokenstype and theFederatedConnectionsAccessTokensfield fromConnectionPropertiesOptions,UpdateConnectionOptions,ConnectionOptionsAzureAd, andConnectionOptionsCommonOidc.asnvalue fromClientSessionTransferDelegationDeviceBindingEnum(onlyipremains).ListRolesOffsetPaginatedResponseContentStart/Limit/Totalfrom*float64tofloat64(setter signatures change).ConnectionAttributeIdentifierwith per-attributeEmailAttributeIdentifier,PhoneAttributeIdentifier, andUsernameAttributeIdentifiertypes.PhoneProviderProtectionBackoffStrategyEnumNone("none") with...EnumDefault("default").Added:
Organizations.Roles.Members.List) with cursor pagination.ThirdPartyClientAccess/OrganizationThirdPartyClientAccessEnum).OrganizationIDonUserGrant.Grantsand theTokenVaultPrivilegedAccessGranttype.DiscoveryURL,OidcMetadata,ConnectionsOidcMetadata).DefaultMethodPhoneNumberIdentifierEnum(password,phone_otp).connection.created/deleted/updated) with their CloudEvent enums.Auth0ManagedonNetworkACLMatch,confirmationonPartialGroupsEnum, and theNotFoundErrorBody/TooManyRequestsErrorBodytypes.v3.1.0 stable highlights (mirrored from
main)CrossAppAccessResourceAppfield with create/update/response types and status enums).IdentityAssertionAuthorizationGrant).ThirdPartyClientAccessConfigon the SSO ticket request.Identifiers(BrandingThemeIdentifiers) with login/phone display enums.Actor(SessionActorMetadata,SessionActorClaimValueunion).SuspiciousIPThrottlingPreCustomTokenExchangeStage.Beta-specific (new here, not on stable)
b2b_integration_configurationfield on the client and client create/update requests, backed by theB2BIntegrationConfigurationtype (holdssso_profiles, max one SSO profile ID). This is the only type introduced in this change that is not already on beta or stable.Docs and release tooling
/v3; CONTRIBUTING and AGENTS fix the beta install/versioning examples.compute-next-versionnow derives the major from thego.modmodule path instead of a hardcodedv2regex, so a future major bump needs no change..version,meta.go, andCHANGELOG.mdare intentionally left untouched so the beta auto-release workflow stamps them on merge.📚 References
None
🔬 Testing
go build ./...andgo vet ./...both pass.compute-next-versionwas validated against the live tags: it resolves majorv3fromgo.modand computesv3.2.0-beta.0as the next beta.📝 Checklist