erdomke / InnovatorAdmin

A tool for managing Aras Innovator installations focusing on improving the import/export experience.
http://erdomke.github.io/InnovatorAdmin/
MIT License
58 stars 42 forks source link

Unauthorized error during connection test #220

Open bidolah opened 3 years ago

bidolah commented 3 years ago

Error:

image

An error happens when InnovatorServerConfig.xml have the following configuration:

 <OAuthServerDiscovery>
    <Urls>
      <Url value="http://localhost/InnovatorServerName/OAuthServer" />
    </Urls>
  </OAuthServerDiscovery>

All work fine when InnovatorServerConfig.xml have the following configuration:

<OAuthServerDiscovery>
    <Urls>
      <Url value="$[HTTP_PREFIX_SERVER]$[HTTP_HOST_SERVER]$[HTTP_PORT_SERVER]$[HTTP_PATH_SERVER]/OAuthServer/" />
    </Urls>
  </OAuthServerDiscovery>