covid-19-jurnal-medical icon indicating copy to clipboard operation
covid-19-jurnal-medical copied to clipboard

Add delete user identity server endpoint and delete profile and forms api endpoint

Open irinel-nistor opened this issue 4 years ago • 4 comments

What does it fix?

Closes #418

  1. Added API endpoint that deletes the user profile and its forms, as well as its family members profiles and forms
  2. Added IdentiyServer endpoint that:
    • deletes the IdentiyServer user
    • generates access token and calls the delete profile api endpoint (1)

How has it been tested?

I manually tested the changes, by creating test data and removing it using the endpoints

*** Should I add a new client in IdentiyServer configuration, that would be the only one to access the DeleteProfile endpoint from the api, using a new scope?

irinel-nistor avatar May 27 '20 14:05 irinel-nistor