p2-inc / phasetwo-admin-portal

https://phasetwo.io
Other
18 stars 14 forks source link

wire up delete form #55

Closed pnzrr closed 1 year ago

pnzrr commented 1 year ago

@xgp do we need to leverage the admin client in some manner? looking at the keycloak-ui repo, that's what they were using for the API call. or do we hardcode the hit to the API to delete the user?

pnzrr commented 1 year ago

Good to go. Users need to have the "delete" account based role to be able to do this, but otherwise this works. Another odd thing is there was no redirection once this was complete on the Keycloak side. Probably a config there I'd imagine.