WS-Federation
WS-Federation supports both Active Directory Federation Services and Azure Active Directory.
You first need to configure ADFS or AzureAD to support Universal.
Configuring ADFS for Universal
Service Settings
These are the current Federation Service settings for our domain.
![](https://docs.powershelluniversal.com/~gitbook/image?url=https%3A%2F%2Fgblobscdn.gitbook.com%2Fassets%252F-L9mVQO4zbOX7ZcHvIte%252F-Lob6ow15SQRLl3vo8ZV%252F-Lob7luBvuEGUTrLIors%252Fimage.png%3Falt%3Dmedia%26token%3D64c3c00f-1d2c-4346-bcc1-dd89e7cf4c24&width=768&dpr=4&quality=100&sign=e6648a34&sv=1)
Relying Parties
You need to configure the following Relying Parties settings for Universal. On the Identifiers tab, provide the URL to the Universal website. HTTPS is required.
![](https://docs.powershelluniversal.com/~gitbook/image?url=https%3A%2F%2Fgblobscdn.gitbook.com%2Fassets%252F-L9mVQO4zbOX7ZcHvIte%252F-Lob6ow15SQRLl3vo8ZV%252F-Lob8DOuN3sGBzbdctQb%252Fimage.png%3Falt%3Dmedia%26token%3D8b2fac2f-c5e1-4ceb-963e-ab9c7eb85484&width=768&dpr=4&quality=100&sign=2230dc43&sv=1)
On the Endpoints tab. You'll need to include a WS-Federation Passive Endpoint. Make sure to include the trailing slash.
![](https://docs.powershelluniversal.com/~gitbook/image?url=https%3A%2F%2Fgblobscdn.gitbook.com%2Fassets%252F-L9mVQO4zbOX7ZcHvIte%252F-Lob6ow15SQRLl3vo8ZV%252F-Lob8hIg0Ot1uN1PsimG%252Fimage.png%3Falt%3Dmedia%26token%3De6673c7c-a125-4b04-b0c0-ba7d0a677d6a&width=768&dpr=4&quality=100&sign=dc950901&sv=1)
Finally, you'll need to configure a Claim Issuance Policy for the Relying Party Trust. Create an Issuance Transform Rule that sends at least the Name and Name ID to Universal.
You can configure additional claims you'd like to use if you are using policies in Universal.
Configuring For Azure Active Directory
Follow the documentation for the Azure Active Directory configuration found on this Microsoft Document.
Configuring Universal
Use Appsettings.json
After configuring ADFS or AAD, you can now provide the properties to Universal for the MetadataAddress and Wtrealm. Read about these settings on the our Settings page.
Here is an example of how to update the appsettings.json
file to accommodate the correct settings for WS-Federation.
When running your server, you should now be prompted for your credentials either via the Internet Explorer single-sign system or you will be forwarded to the WS-Fed login page.
![](https://docs.powershelluniversal.com/~gitbook/image?url=https%3A%2F%2Fgblobscdn.gitbook.com%2Fassets%252F-L9mVQO4zbOX7ZcHvIte%252F-Lob6ow15SQRLl3vo8ZV%252F-Lob9yeDdGENbUiyz4Sj%252Fimage.png%3Falt%3Dmedia%26token%3D910db2dd-85f3-46eb-b3ec-9f551f244439&width=768&dpr=4&quality=100&sign=bc756bea&sv=1)
Use Authentication.ps1
You can configure WS-Federation authentication in the admin console. To do so, navigate to Security \ Authentication. Add the WS-Federation provider by selecting it from the drop down in the top right.
Next, edit the properties of the authentication provider and specify the configuration details for your ADFS setup.
Once configured, enable the WS-Federation provider. Then, log out and navigate to /admin
You will be prompted to login to your WS-Federation provider.
Last updated