I am in the process of testing the deactivation of user account on my app. So far everything works fine only issue occurs for any next idp request after user is deactivated.
I am calling Okta Rest apis and using that form of communication.
So I do this first when user wants to delete his account from the setting page of my app:
POST a request with current user id : \
{{oktadomainurl}}/api/v1/users/{{userId}}/lifecycle/deactivate
This returns 200 but any request of login to okta domain now gives me following error codes :
{error_description=[Unable to JIT the user.], state=[jTKONy], error=[jit_failure]}
So I stopped for a while and went out for a walk and came back to retry and everything was working again, I could login with multiple users etc so I was back in business but again when I tried to test deactivate feature, user got deactivated but then I am back to same issue, I keep getting jit failure errors.
What I am doing wrong ?