docs - adding adfs sso guide

This commit is contained in:
silversword411 2022-05-16 23:32:40 -04:00
parent bb7a47e7ab
commit cef427d3c7
20 changed files with 75 additions and 0 deletions

View File

View File

@ -0,0 +1,72 @@
# ADFS SSO Guide
## Assumptions
The following guide was built under the assumptions that:
1. ADFS 4.0 running on Server 2016 using Active Directory
2. Main ADFS setup already completed / working. SSL certs installed and port forwarded as expected.
The guide was built to deal specifically with adding mesh as a Relying Party. Im far from an ADFS expert and some configurations may not be needed. Most of this was built by reading the code and taking guesses as to the needed values.
As with anything SSO, you need 2 pieces the IDP setup (in this case ADFS) and the SP setup (in this case Mesh).
Mesh Setup:
Add the following to your mesh config file in the domains part:
![](images/adfs_sso2022-05-16-23-24-54.png)
Callback URL: Should be the FQDN for your Mesh Server, ending with /auth-saml-callback
Entity ID: This is how ADFS IDs which party the request goes to. You can set this to whatever you want, but you will need this value later on when working in ADFS.
IDP URL: This is the URL to ADFS. Ends with /adfs/ls unless you did something very weird in ADFS.
Cert: You will need to export the token signing cert from ADFS, then convert it to PEM format. This cert can be found in ADFS -> Service -> Certificates. You can use this openssl command to convert it from CRT to PEM format: openssl x509 -in mycert.crt -out mycert.pem -outform PEM
Save the config and restart the mesh server.
ADFS setup (in pictures):
Relying Party Trust -> New Relying Party Trust
![](images/adfs_sso2022-05-16-23-25-48.png)
![](images/adfs_sso2022-05-16-23-26-01.png)
![](images/adfs_sso2022-05-16-23-26-47.png)
![](images/adfs_sso2022-05-16-23-26-56.png)
![](images/adfs_sso2022-05-16-23-27-03.png)
![](images/adfs_sso2022-05-16-23-27-09.png)
![](images/adfs_sso2022-05-16-23-27-16.png)
![](images/adfs_sso2022-05-16-23-27-22.png)
![](images/adfs_sso2022-05-16-23-27-28.png)
Edit the new “Relying Party Trust” Properties:
![](images/adfs_sso2022-05-16-23-27-41.png)
![](images/adfs_sso2022-05-16-23-27-51.png)
Then its time to add Claims…
![](images/adfs_sso2022-05-16-23-28-09.png)
![](images/adfs_sso2022-05-16-23-28-15.png)
![](images/adfs_sso2022-05-16-23-28-21.png)
For the outgoing claim type, where it says firstname, lastname, and email, manually type it in as shown. All other fields should be selected from the dropdown.
Add another rule:
![](images/adfs_sso2022-05-16-23-28-41.png)
![](images/adfs_sso2022-05-16-23-28-48.png)
For all fields, select from the dropdowns

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@ -26,6 +26,9 @@ nav:
- Intel AMT:
- intelamt/index.md
- Other:
- other/adfs_sso_guide.md
site_description: "A remote monitoring and management tool"
site_author: "Ylianst"
site_url: "https://git.meshcentral.com/"