Cannot access login page in Aras Innovator 12.0

Hi everyone,

I tried in as many ways as possible, but the result I got was error message: Invalid redirect_uri.

Please to help me.

Thanks,

Henry Tu

Parents
  • Hi Henry,

    This error is related to some changes in the way that authentication works in Aras Innovator 12.0. The OAuthServer keeps a list of client URLs stored in a config file. If the URL you are using to connect to Aras Innovator is not within the list, you will receive this error. 

    You can check this list of URLs by following the steps below.

    1. Navigate to your Aras Innovator installation folder
      1. By default this is C:\Program Files (x86)\Aras\Innovator\
    2. Open the file \OAuthServer\OAuth.config in a text editor
    3. Scroll down until you find the <redirectUris/> tag in the InnovatorClient registry
    4. Confirm that the URL you are using matches the first part of one of these redirect URIs

    To give an example of when this error would be thrown, http://localhost/InnovatorServer is within my list of redirect URIs. When I navigate to this URL, I can see the login page as expected. However, the list of URIs does not contain something like http://127.0.0.1/InnovatorServer (127.0.0.1 is the IP address that points to your local machine).  Using this IP address is technically correct as it redirects me to the login page; however, I receive the Invalid redirect_uri error because it is not in the list of URIs contained in the <redirectUris/> tag.

    To resolve this issue, you can either use one of the URLs contained in the list, or you can add the URL you are using to the list. 

    Chris

    Christopher Gillis

    Aras Labs Software Engineer

Reply
  • Hi Henry,

    This error is related to some changes in the way that authentication works in Aras Innovator 12.0. The OAuthServer keeps a list of client URLs stored in a config file. If the URL you are using to connect to Aras Innovator is not within the list, you will receive this error. 

    You can check this list of URLs by following the steps below.

    1. Navigate to your Aras Innovator installation folder
      1. By default this is C:\Program Files (x86)\Aras\Innovator\
    2. Open the file \OAuthServer\OAuth.config in a text editor
    3. Scroll down until you find the <redirectUris/> tag in the InnovatorClient registry
    4. Confirm that the URL you are using matches the first part of one of these redirect URIs

    To give an example of when this error would be thrown, http://localhost/InnovatorServer is within my list of redirect URIs. When I navigate to this URL, I can see the login page as expected. However, the list of URIs does not contain something like http://127.0.0.1/InnovatorServer (127.0.0.1 is the IP address that points to your local machine).  Using this IP address is technically correct as it redirects me to the login page; however, I receive the Invalid redirect_uri error because it is not in the list of URIs contained in the <redirectUris/> tag.

    To resolve this issue, you can either use one of the URLs contained in the list, or you can add the URL you are using to the list. 

    Chris

    Christopher Gillis

    Aras Labs Software Engineer

Children