1. create self signed certificate if no valid certificate is present currently using the powershell command 

"   New-SelfSignedCertificate  "


New-SelfSignedCertificate -CertStoreLocation <path> -DnsName <dnsname> -Verbose.


It will be needed later on.

   

2. Follow https://docs.pexip.com/admin/integrate_adfs.htm


Refer to section "Creating a Native Application" and "Creating a Web API Resource"


and get the federation service name and the client id.


3. To enable CORS, fire the following commands on powershell


 Set-AdfsResponseHeaders -EnableCORS $true

Set-AdfsResponseHeaders -CORSTrustedOrigins https://captivecloud.ray.life