go-auth0 icon indicating copy to clipboard operation
go-auth0 copied to clipboard

Missing types in go-auth0 v2

Open lavin-ds opened this issue 2 months ago • 2 comments

Checklist

Describe the problem you'd like to have solved

Hi team,

We're migrating from go-auth0 v1 to v2 and encountering significant breaking changes in connection management and types.

Example: v1's management.ConnectionOptionsSAMLIdpInitiated doesn't exist in v2. It only appears as part of management.SelfServiceProfileSSOTicketIdpInitiatedOptions, which seems intended for the new SelfService SSO setup flow. All of the SAML connection management types have not been carried over to v2

Describe the ideal solution

Questions:

  • Are you planning to add the old types to v2?
  • Should we use custom maps instead of typed structs?
  • Is the intended approach to use the self-service ticket flow rather than direct connection management?

Ideally I would expect all the old types to still exist in the new package as well maybe under different names etc. since the auth0 api supports creating and managing connections.

Alternatives and current workarounds

Current workarounds are using custom maps.

Additional context

No response

lavin-ds avatar Nov 12 '25 13:11 lavin-ds

Hi @lavin-ds,

Thank you for opening the feature request! Yes, we’re planning to include all types. We’re currently working on improving our API specification, which will cover everything. Since this will introduce breaking changes, we’ll be releasing it in beta soon.

We’d love to get your feedback once it’s out!

developerkunal avatar Nov 14 '25 11:11 developerkunal

@developerkunal thanks. That's great to know you are porting all types over. We will be happy to test it once the beta is out. Thank you!

lavin-ds avatar Nov 14 '25 13:11 lavin-ds