Forum Discussion
christopher_gillis
6 years agoCommunity Manager
Hello,
If you have access to the server, could you go to the install location of Aras Innovator and open the /OAuthServer/OAuth.config file. Scroll down to the IOMApp client registry and confirm that the password grant type is supported.
<clientRegistry id="IOMApp" enabled="true">
<allowedScopes>
<scope name="openid"></scope>
<scope name="Innovator"></scope>
<scope name="offline_access"></scope>
</allowedScopes>
<allowedGrantTypes>
<grantType name="password"></grantType>
<grantType name="authorization_code"></grantType>
</allowedGrantTypes>
<redirectUris>
<redirectUri value="iomapp://token/"></redirectUri>
</redirectUris>
<tokenLifetime accessTokenLifetime="3600" authorizationCodeLifetime="300" refreshTokenSlidingLifetime="36000" refreshTokenOneTimeOnly="true" refreshTokenAbsoluteExpiration="false"></tokenLifetime>
</clientRegistry>
If this grant type is not specified, could you try adding it to see if that resolves your error? You may need to restart IIS on the server after making this change.
Chris
SebastienR
6 years agoIdeator I
Hello !
Thanks for the answer. Howether, i re installed Aras and the error was gone. But for information, the password grant type was supported. I really don't know what happenned but fortunately my problem is solved.