Hi,
I am working on a project which needs to call IONAPI to access IDM.
So I went to Infor github to download example and try.
ion-api-sdk/DotNetBackendOAuth2/
I built the project in visual studio and compiled successfully.
I also filled in these things in the program
private const string ResourceOwnerClientId = "<replace with ci from .ionapi file>";
private const string ResourceOwnerClientSecret = "<replace with cs from .ionapi file>";
private const string OAuth2TokenEndpoint = "<replace with pu+ot from .ionapi file>";
private const string OAuth2TokenRevocationEndpoint = "<replace with pu+or from .ionapi file>";
private const string OAuth2AuthorizationEndpoint = "<replace with pu+oa from .ionapi file>";
private const string IONAPIBaseUrl = "<replace with ia+'/'+ti from .ionapi file>";*/
private const string ServiceAccountAccessKey = "<replace with saak from .ionapi file>";
private const string ServiceAccountSecretKey = "<replace with sask from .ionapi file>";*/
But when I run the program, I got following error




but what I don't understand is when I use Postman to request token with the same URL https://mingle-sso.inforcloudsuite.com:443/XXXYYY_TRN/as/token.oauth2, then it works fine.
Any idea now how to solve this issue?
Thanks
Wayne