NSE7 Advanced VPN and Zero Trust Practice Question
A FortiGate is configured as a SAML SP for user authentication. When a user attempts to access a protected resource, the FortiGate redirects the user to the IdP login page, but after successful authentication, the user is not redirected back to the original resource. What is the MOST likely cause?
⚠ Common exam trap
A common mix-up: candidates assume the issue is with certificate trust or browser settings, but the real problem is a subtle URL mismatch in the SAML ACS endpoint configuration.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The SAML assertion consumer service URL on the IdP does not include a trailing slash
The SAML assertion consumer service (ACS) URL must exactly match the endpoint configured on the FortiGate. If the IdP's ACS URL lacks a trailing slash that the FortiGate expects, the SAML response will be sent to an incorrect or mismatched endpoint, causing the redirect to fail. This is a common misconfiguration in SAML SP setups where URL normalization differs between the SP and IdP.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The user's browser has cookies disabled
Why it's wrong here
While cookies may be needed for session tracking, the redirect itself is handled by SAML protocol, not cookies.
- ✗
The IdP certificate is not trusted by the FortiGate
Why it's wrong here
This would cause a signature validation failure, not a redirect issue.
- ✓
The SAML assertion consumer service URL on the IdP does not include a trailing slash
Why this is correct
FortiGate expects the ACS URL to match exactly; a missing trailing slash can cause the IdP to send the response to an unexpected endpoint.
- ✗
The FortiGate is configured as a SAML IdP instead of SP
Why it's wrong here
If configured as IdP, FortiGate would not redirect to an external IdP.
Go deeper
Related to this question
About these practice questions
One of 940 original NSE7 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This NSE7 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE7 exam.