docs - adding adfs sso guide
72
docs/docs/other/adfs_sso_guide.md
Normal 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. I’m 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 it’s 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
|
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-24-54.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-25-48.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-26-01.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-26-47.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-26-56.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-03.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-09.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-16.png
Normal file
After Width: | Height: | Size: 33 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-22.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-28.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-41.png
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-27-51.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-28-09.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-28-15.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-28-21.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-28-41.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
docs/docs/other/images/adfs_sso2022-05-16-23-28-48.png
Normal file
After Width: | Height: | Size: 23 KiB |
@ -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/"
|
||||
|