Skip to main content
dbhavsar
Staff
Staff
March 16, 2026

Troubleshooting Tip: Error 'app_not_configured_for_user' when using Google SAML as IdP for SSL VPN

  • March 16, 2026
  • 1 reply
  • 536 views
Description This article describes resolving the error 'app_not_configured_for_user' when using Google SAML IdP for SSL VPN.
Scope FortiGate.
Solution

The following error is encountered:
app_not_enabled.png
Verify the IdP and SAML settings are identical on FortiGate and on G-Suite as below:

Customize the configuration:

 

idp-entity-id                -> 'Entity ID' copy form google console.

idp-single-sign-on-url -> 'SSO URL' copy form google console.

idp-single-logout-url   -> 'https://accounts.google.com/logout'.

 

User SAML.


config user saml

    edit "gsuite-sslvpn"

        set cert "Fortinet_Factory"
        set entity-id "https://<FGT-pub-IP>:<port-ssl-vpn>/remote/saml/metadata/"
        set single-sign-on-url "https://<FGT-pub-IP>:<port-ssl-vpn>/remote/saml/login/"
        set single-logout-url "https://<FGT-pub-IP>:<port-ssl-vpn>/remote/saml/logout/"
        set idp-entity-id "https://accounts.google.com/o/saml2?idpid="
        set idp-single-sign-on-url "https://accounts.google.com/o/saml2/idp?idpid="

        set idp-single-logout-url "https://accounts.google.com/logout" 
        set idp-cert "REMOTE_Cert_1"
        set user-name "Username"
        set group-name "group"  
        set digest-method sha1

    next

end


Once this is verified, ensure that "User access" status is "ON" for everyone as per the image below.

Navigation: Menu -> Apps -> Web and mobile apps (or Google Workspace).
Action: Select the specific application, then select Service status to turn it ON or OFF for specific Organizational Units (OUs) or Groups.


image (28).png
If the user access status is 'OFF' or 'NOT CONFIGURED', then users might face the above error even though authentication is successful.

 

Related article:

Technical Tip: Fortinet SSL VPN with G Suite MFA using SAML and SSO

1 reply

New Member
June 26, 2026

Hi dbhavsar, 

Were you able to get this resolved?

Thanks!

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!