投稿済み Wed, 21 Feb 2024 09:21:53 GMT 、投稿者 Mélanie Mélanie
Hello,

I am trying to use Docuware APIs and the first step is to get the request token.  I want to use the Windows account connection as we have on-premise licensing. But it does not work. I have the error message "External authentication failed!" with status 400 Bad Request when doing a POST request with the following url (I am using the Postman collection) : 

<<server>>/DocuWare/Identity/connect/token

Am I doing something wrong?

Thanks a lot for your support,

Best regards

投稿済み Sun, 07 Apr 2024 20:23:25 GMT 、投稿者 Davorin Plemenitaš
Hi Mélanie. Did You get any answer about this problem or have you figured it out?

Best regards, 

Davorin
投稿済み Sun, 07 Apr 2024 22:40:08 GMT 、投稿者 Davorin Plemenitaš
Hi! We are struggling with NTLM login via .NET API and have tried the following methods with no luck. The first three methods always return the User running the IIS App pool, the others return an Error without description. Do you have any suggestions/ideas on how to properly log into DocuWare (OnPrem) via .NET API, with local Windows credentials. 

AuthenticationType: Negotiate
ImpersonationLevel: None
IsAnonymous: False
IsAuthenticated: True
IsGuest: False
IsSystem: False
Label:
Name: DOMAIN\My.Username (this is the user credential with which I shuld be logged in)
NameClaimType: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
Owner: S-1-5-32-544
RoleClaimType: http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid
Token: 3164
User: S-1-x-21-xxxxxxxxxxx-1452108637-xxxxx-xx
UserClaims: System.Security.Claims.Claim[]

1. Method
CreateWithWindowsAuthenticationAsync(new Uri(uri), CredentialCache.DefaultNetworkCredentials)
Error, Access for account "DOMAIN\IIS_APPLICATION_POOL_USER$" was denied. Please try to log in with DocuWare credentials or contact your system administrator.
2. Method
CreateWithWindowsAuthenticationAsync(new Uri(uri), CredentialCache.DefaultNetworkCredentials, organizationName, null, new HttpClientHandler() { UseDefaultCredentials = true }, null)
Error, Access for account "DOMAIN\IIS_APPLICATION_POOL_USER$" was denied. Please try to log in with DocuWare credentials or contact your system administrator.
3. Method
CreateWithWindowsAuthenticationAsync(new Uri(uri), CredentialCache.DefaultNetworkCredentials, organizationName, null, new HttpClientHandler() { Credentials = CredentialCache.DefaultNetworkCredentials, UseDefaultCredentials = true }, null)
Error, Access for account "DOMAIN\IIS_APPLICATION_POOL_USER$" was denied. Please try to log in with DocuWare credentials or contact your system administrator.
4. Method
CreateWithWindowsAuthenticationAsync(new Uri(uri), null, organizationName, null, new HttpClientHandler() { UseDefaultCredentials = true }, null)
Error, External authentication failed!
5. Method
CreateWithWindowsAuthenticationAsync(new Uri(uri), null, organizationName, null, new HttpClientHandler() { Credentials = CredentialCache.DefaultNetworkCredentials, UseDefaultCredentials = true }, null)
Error, External authentication failed!

Thank You in advance. 

フォーラムに投稿するためにはログインが必要です。