Add identity drift reconciliation
This commit is contained in:
parent
487012e961
commit
26d0e52172
3 changed files with 164 additions and 7 deletions
|
|
@ -41,6 +41,8 @@ class Handler(BaseHTTPRequestHandler):
|
|||
return self._send(404, {"error": "not_found"})
|
||||
except (ValueError, json.JSONDecodeError) as exc:
|
||||
return self._send(400, {"error": "invalid_request", "message": str(exc)})
|
||||
except RuntimeError:
|
||||
return self._send(503, {"error": "dependency_unavailable"})
|
||||
response = asdict(result)
|
||||
if path == "/v1/identities/provision" and result.status == "password_setup_required":
|
||||
response["password_setup_url"] = self.password_setups.issue(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue