Skip to content
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

Fix how we expand client.addons.samlp #322

Merged
merged 1 commit into from
Sep 17, 2022
Merged

Conversation

sergiught
Copy link
Contributor

@sergiught sergiught commented Sep 16, 2022

🔧 Changes

This fixes #314 by making sure we don't send null to the API in case some fields are not set.

The ideal solution would involve changes in the Go SDK as well by adding types for all the possible Addons instead of having the field as map[string]interface{}, so we could add omitempty json tags. For now this is an intermediary fix before applying these changes to the go SDK.

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@sergiught sergiught self-assigned this Sep 16, 2022
@sergiught sergiught marked this pull request as ready for review September 16, 2022 15:38
@sergiught sergiught requested a review from a team as a code owner September 16, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auth0_Client with addons samlp throws 400 Bad Request: Payload validation error in the latest version.
2 participants