covid-19-jurnal-medical
covid-19-jurnal-medical copied to clipboard
Add delete user identity server endpoint and delete profile and forms api endpoint
What does it fix?
Closes #418
- Added API endpoint that deletes the user profile and its forms, as well as its family members profiles and forms
- 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?