Skip to content

feat: integrate roles api for create flow#274

Open
rax7389 wants to merge 18 commits into
feat/mm-invitations-testsfrom
feat/mm-invitations-bulk
Open

feat: integrate roles api for create flow#274
rax7389 wants to merge 18 commits into
feat/mm-invitations-testsfrom
feat/mm-invitations-bulk

Conversation

@rax7389
Copy link
Copy Markdown
Contributor

@rax7389 rax7389 commented May 10, 2026

Summary

Integrates the roles API into the member invitation create flow and updates the My Organization SDK.

Why

The invitation create flow needs to fetch available roles from the API to allow users to assign roles when inviting new members.

What

  • Roles API integration: Updated useMemberManagementService to fetch roles via the SDK's getRoles() method
  • SDK update: Upgraded @auth0/myorganization-js from 1.0.0-beta.4 to 1.0.0
  • Translation fix: Corrected sidebar translation key from sidebar.members to sidebar.memberManagement
  • Test coverage: Added tests for roles fetching in use-member-management-service.test.ts

Packages

  • packages/core
  • packages/react
  • examples

Testing

  • This change adds unit test coverage
  • Tested for both SPA and RWA flows, all example apps working
  • All existing and new tests complete without errors

Checklist

  • Breaking change
  • Requires docs update
  • Backward compatible

Contributing

@rax7389 rax7389 changed the title feat: integrate roles API for create flow feat(react): integrate roles API for invitation create flow May 10, 2026
@rax7389 rax7389 changed the title feat(react): integrate roles API for invitation create flow feat: integrate roles api for create flow May 10, 2026
@rax7389 rax7389 self-assigned this May 10, 2026
@rax7389 rax7389 added the enhancement New feature or request label May 10, 2026
@rax7389 rax7389 requested a review from NaveenChand755 May 15, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants