Skip to main content
systemgeek
Visitor III
March 14, 2024
Solved

FSSO for VPN with connection to ADFS

  • March 14, 2024
  • 1 reply
  • 1360 views

I have the Fortigate VM in AWS and I am trying to setup Single Sign On connected to ADFS for my VPN users.  I am very new to ADFS.  The setup requires you to put in the SP info and then the IdP info.  I am very new to the whole ADFS thing but still in other places on the fortigate I have only had to setup the IdP pointing at my ADFS server and things worked fine.  Why is it asking for the SP too and who is the SP in this case?

Best answer by hbac

Hi @systemgeek,

 

The first 3 URLs are pointing to FortiGate. For the last 3, you need to find those URLs on your ADFS server. 

 

Regards, 

1 reply

systemgeek
Visitor III
March 14, 2024

I found this Tec Tip: https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-SAML-SSO-login-for-SSL-VPN-web-mode/ta-p/189878.  In that example I see:

       set entity-id "https://10.5.27.2:10443/remote/saml/metadata/"
       set single-sign-on-url "https://10.5.27.2:10443/remote/saml/login/"
       set single-logout-url "https://10.5.27.2:10443/remote/saml/logout/"

And thats pointing to the ADFS server.

So who is this supposed to point to:

       set idp-entity-id "http://adfs.test.lab/adfs/services/trust"
       set idp-single-sign-on-url "https://adfs.test.lab/adfs/ls/"
       set idp-single-logout-url "https://adfs.test.lab/adfs/oauth2/logout"

 

hbac
Staff
hbacAnswer
Staff
March 15, 2024

Hi @systemgeek,

 

The first 3 URLs are pointing to FortiGate. For the last 3, you need to find those URLs on your ADFS server. 

 

Regards, 

systemgeek
Visitor III
March 15, 2024

I kinda figured it out on my own.  Now I get the 2FA from my ADFS but it never connects the VPN.

 

I tried all the debug things and I am not seeing anything jump out at me.