SSLVPN SSO - access denied and Failed to Create SP errors
Hey all,
Fortigate 81f with 7.0.14
Attempting to get SSLVPN SSO working with Microsoft Entra ID. The process is failing before getting any type of login prompt.
Testing from the FortiClient I get "The response from https://vpn.domain.com was invalid."
Testing from the Test option within Entra ID I get - Access Denied (from https://vpn.domain.com page)
I've double checked all the URL's between the Entra ID application and the saml config. The SSO group on the Fortigate is in the firewall policy.
Sanitised config:
config user saml
edit "Entra ID VPN"
set entity-id "http://vpn.domain.com/remote/saml/metadata/"
set single-sign-on-url "https://vpn.domain.com/remote/saml/?acs"
set single-logout-url "https://vpn.domain.com/remote/saml/?sls"
set idp-entity-id "https://sts.windows.net/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx/"
set idp-single-sign-on-url "https://login.microsoftonline.com/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx/saml2"
set idp-single-logout-url "https://login.microsoftonline.com/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx/saml2"
set idp-cert "REMOTE_Cert_1"
set user-name "username"
set group-name "group"
set digest-method sha256
next

SAML debug
samld_process_request [157]: Could not get resp_attrs: code=1, resp_attrs_len=0
gen_sp_server [325]: Failed to create SP
SSLVPN debug has this as the last entry before it fails.
2024-03-12 12:20:59 [405:root:1df9][fsv_found_saml_server_name_from_auth_lst:125] Found SAML server [Entra ID VPN] in group [FortigateVPNAccess]
Does anyone know where else to look to find the issue? With the Access Denied message, what was denied access by whom?
thanks
jc
