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

feat: add AdminAPI and deleteUser method #224

Merged
merged 3 commits into from
Jan 27, 2024
Merged

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Jan 25, 2024

What kind of change does this PR introduce?

Close #192

What is the current behavior?

Missing implementation of Admin APIs

What is the new behavior?

  • Add AuthAdmin actor that will contain all admin endpoints
  • Add deleteUser method for deleting a user using the service_role key

Additional context

service_role key should never be exposed on client code, it will be up to the library user to make sure service_role key is safe.

@grdsdev grdsdev force-pushed the feat/admin-api-delete-user branch from 9a0d290 to c827d5f Compare January 25, 2024 08:47
@grdsdev grdsdev force-pushed the feat/admin-api-delete-user branch from c827d5f to 7729c84 Compare January 27, 2024 12:51
@grdsdev grdsdev marked this pull request as ready for review January 27, 2024 12:58
@grdsdev grdsdev merged commit 042acc0 into main Jan 27, 2024
5 checks passed
@grdsdev grdsdev deleted the feat/admin-api-delete-user branch January 27, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Auth] Add support for delete user
1 participant