auth0-authorization-extension
auth0-authorization-extension copied to clipboard
Deleted users still showing
When we delete users from the Dashboard they still appear in the groups they were assigned as “User Not Found”.
I cannot reproduce that in development. Can you give me more details about what kind of users are you working with or exactly the steps you followed to get that?
Thanks.
Steps to reproduce:
- create a new Auth0 user (Database connection)
- open AuthZ Extension
- lookup the new user and add user to group
- go to auth0 dashboard/users and delete the new user
- go back to the AuthZ Extension and open the group
There is now a <User Not Found> entry in the group members list.
I am also seeing this issue. If i hit the authorization api directly (/groups/{id}/members
) i get back results like:
"users": [
{
"user_id": "auth0|591b29fa0ec50466c64a410c",
"name": "<User Not Found>",
"email": "auth0|591b29fa0ec50466c64a410c",
"identities": [
{
"connection": "N/A"
}
]
},
Is there any solution to this problem being worked on?
Our team is thinking about writing a cleanup service for this, removing a user from a group if user_id
equals email
, and name
equals <User Not Found>
, but the most optimal thing would of course be that deleting a user in the dashboard is reflected in Groups
.