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

Add roles to organization member call #573

Closed
5 tasks done
larsf96 opened this issue Oct 24, 2023 · 1 comment · Fixed by #574
Closed
5 tasks done

Add roles to organization member call #573

larsf96 opened this issue Oct 24, 2023 · 1 comment · Fixed by #574
Labels
feature request A feature has been asked for or suggested by the community

Comments

@larsf96
Copy link

larsf96 commented Oct 24, 2023

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

A few weeks ago, Auth0 has announced that the Management API can now directly return the user's roles within an organization (https://auth0.com/changelog#78X6urpiHJK6SY0fUw4zyh). Currently we have to do a lot of API calls with this library to get all users including their roles.
It's not yet possible to get the roles with mgmt.organizations().getMembers() as this property is missing.

Describe the ideal solution

The roles should be implemented to the Member class

Alternatives and current workarounds

No response

Additional context

No response

@larsf96 larsf96 added the feature request A feature has been asked for or suggested by the community label Oct 24, 2023
@jimmyjames
Copy link
Contributor

Good timing @larsf96! We had this in our backlog for this week ;)

I've made #574, feel free to check it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature has been asked for or suggested by the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants