-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add support for using Organizations with Client Grants #309
Conversation
bbabcc0
to
6eda5d9
Compare
6eda5d9
to
84b49e7
Compare
Co-authored-by: Rita Zerrizuela <[email protected]>
// | ||
// See: https://auth0.com/docs/api/management/v2/organizations/post-client-grants | ||
func (m *OrganizationManager) AssociateClientGrant(ctx context.Context, id string, grantID string, opts ...RequestOption) (err error) { | ||
body := struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to reach out to see whether this body could change over time as that would impact whether we just accept a grantID
(which would mean we can't really add to this in future) or the body (which would allow parameters to be added in future)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like this should be safe, also removed links for now as they'll 404. Will update in future
🔧 Changes
Adds support for the functionality associated with Organizations and Client Grants
organization
parameter when logging in with the Client Credentials grant📚 References
🔬 Testing
Covered by unit tests and tested manually
📝 Checklist