I am trying to use the Swagger UI capability to test the Netwrix Identity Manager (NIM) APIs, but I am facing difficulty with request authentication.
I attempted to authenticate by setting the following parameters in the request headers (or equivalent fields in Swagger):
Principal.Identity.Name
Principal.Identity.AuthenticationType
Principal.Identity.IsAuthenticated
I specifically tried to set Principal.Identity.AuthenticationType to the value Cookies, but this resulted in a HTTP 500 error (Internal Server Error).
I suspect that the value Cookies is not accepted for this parameter, but I have not been able to find documentation listing the admitted values for Principal.Identity.AuthenticationType.
Could anyone provide some insight or documentation on the accepted values for this specific authentication parameter?
But you donât need to do any authentication when using the Swagger UI? It will automatically use the credentials of the already logged-in user in another tab. I never had to specifically set credentials to use the Swagger.
Identifier la permission manquante
On peut la retrouver au niveau de lâURL. Exemple : pour Agent, lâURL dâappel âhttp://localhost:5000/api/Connectors/AgentâŠâ.
La permission manquante â/Connectors/Agentâ
Ajouter la permission au profil Administrateur
Ajouter lâAccessControlRule suivante :