I’m using Aspose Words Cloud, but the authentication issues are probably not specific to the Words product.
When using the Aspose Words Cloud “cloud version”, I authenticate my requests only with the ClientId and ClientSecret obtained from the app dashboard. This works fine.
In order to use the Aspose Words Cloud “self-hosted docker version”, I simply tried adding the ApiBaseUrl in the form of “http://IP:PORT” to the Configuration. I kept ClientId and ClientSecret the same as with the “cloud version”.
Then I receive an ApiException with the following message: “Unable to resolve service for type ‘Aspose.Words.Cloud.WebApp.Auth.IUserAuthenticationService’ while attempting to activate ‘Aspose.Words.Cloud.WebApp.Auth.AuthController’.”
What am I missing in order to make the docker version work?
Edit: I’m running words-cloud v 23.4.0 like this:
docker run -p 8082:80 -e "LicensePublicKey=XXX" -e "LicensePrivateKey=XXX" --name aspose aspose/words-cloud