I am trying to use WAP for public internet access to a intranet application.
The intranet application uses ADFS SAML for SSO and authentication.
Referring to this article https://learn.microsoft.com/en-us/windows-server/remote/remote-access/web-application-proxy/publishing-applications-using-ad-fs-preauthentication
In the general flow, step 2:
<quote>
Web Application Proxy redirects the HTTPS request to the AD FS server with URL encoded parameters, including the resource URL and the appRealm (a relying party identifier).
The user authenticates using the authentication method required by the AD FS server; for example, user name and password, two-factor authentication with a one-time password, and so on.
</quote>
In my testing, wap application external url is https://myapp1.example.com/, with configured WAP to use ADFS preauthentication.
When i try to access https://myapp1.example.com/, i will get redirected to https://myadfs.localdomain.local/ for authentication.
Does the ADFS server need to be publicly accessible?
Do i need to enable ADFS proxy using a WAP passthrough? as shared in http://www.mistercloudtech.com/2015/11/25/how-to-install-and-configure-web-application-proxy-for-adfs/
Shouldn't WAP internally help to resolve and response the content of https://myadfs.localdomain.local/ at the external url of https://myapp1.example.com/, like how other reverse proxy works?