Publié Fri, 20 Dec 2024 20:17:12 GMT par Edward Clarke Community Service Partners Director of Information Technology
Hello,

I'm following the following link and I created the app in the "App Registration" using "Native application" since this is a Windows Desktop application.  I'm using the example from the link above and I filled in my ClientID, Scope, RedirectUri, PlatformUri and OriganziaitonGuid.  I did not enter a ClientSecret as I did not see that listed.  I'm confused on the redirect uri - I am not sure what goes there but I put the regular link to DocuWare there. 

When I run it - I get " Error loading discovery document: Issuer name does not match authority" - so I navigated to the identity link as described in another article and everything matches.  But I'm not sure what else to do - the ... in the line below is the name/domain for our server which is hosted by us.

System.InvalidOperationException: 'Error loading discovery document: Issuer name does not match authority: https://.../docuware/identity'
This exception was originally thrown at this call stack:
    [External Code]
    DW_LOGIN.Program.RetrieveAccessTokenAsync(IdentityModel.OidcClient.OidcClient) in Program.cs
    DW_LOGIN.Program.AuthorizationCodeFlow() in Program.cs
    DW_LOGIN.Program.Main(string[]) in Program.cs
Publié Thu, 26 Dec 2024 13:44:25 GMT par Edward Clarke Community Service Partners Director of Information Technology
I ended up going a different route to connect my .NET application to DocuWare. 
Publié Wed, 12 Feb 2025 11:22:30 GMT par Ullrich Grimm
Hi Clarke,
can you please give a short description of your route to connect to DocuWare.

I my selft connect via serviceconnection.create(uri, username, password, organization)
But I am thinking that this way will run out, so I am interested in your solution.

Thanks and regards
Ulli

You must be signed in to post in this forum.