Skip to content

Auth0 ManagementClient Module Optimization #20

Open
@thehabes

Description

@thehabes

This relates to #7

Look into the Auth0 Management Client being used and refactor for the most recent version. We want to optimize the logic in manage-api.js which gets all TPEN Users and their roles to list them for administrators. See https://auth0.github.io/node-auth0/classes/management.UsersManager.html#getAll

The current logic is

get users in groups according to roles, attach role tag to user object, merge roles of users that appear in multiple groups

The optimized logic uses the management client to

Get all users whose app_metadata contains "tpen".  Include their profile info and roles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions