Good day madam or sir,
I am figuring out how I can make a connection with IFS through OData.
Environment Setup
- It is a IFS APPS 10.6 demo license, installed on a VPS.
- I have created a user with full admin level, just like the ifsapp user.
- Windows Server 2016 Standard, version 1607.
- Windows Firewall: The port 48080 inbound and outbound rules are open / set to allow.
- There is no IIS installed.
- It is accessed via an IP address.
- And it is accessed via the same address that is added to the Windows hosts file with a name like: “https://aname-vps:48080”.
Test Result
I have been able to create a new access token with help of Postman when I access it via the hosts file entry. When applying the token, I am receiving “Error 401--Unauthorized” or “403 Forbidden”.
The request requires user authentication. The response MUST include
a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the
requested resource. The client MAY repeat the request with a suitable Authorization
header field (section 14.8). If the request already included Authorization credentials,
then the 401 response indicates that authorization has been refused for those
credentials. If the 401 response contains the same challenge as the prior response, and
the user agent has already attempted authentication at least once, then the user SHOULD
be presented the entity that was given in the response, since that entity MAY include
relevant diagnostic information. HTTP access authentication is explained in section 11.
When I am directly trying to access it via the IP address, then I am receiving this:
“403 Forbidden”.
You don't have permission to access /main/ifsapplications/projection/v1/AllProjections.svc$openapi on this server.
I do not know what to do next to resolve this. Do you have one or more ideas?
Thank you in advance!
With kind regards,
Joko Zwarteveen