PCNSE Practice Question: Securing Users and Applications with Authentication
After configuring SAML authentication for GlobalProtect, users report they are repeatedly prompted for credentials even though they already authenticated via the IdP. The firewall logs show 'saml-auth-success' but the portal log shows 'user-login-failure: invalid saml assertion'. What is the most likely cause?
⚠ Common exam trap
The trap here is that candidates see 'saml-auth-success' and assume the authentication succeeded end-to-end, but they miss that the firewall's portal log rejection indicates a validation failure on the assertion itself, not a failure at the IdP.
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 firewall and IdP system clocks are out of sync
The firewall logs show 'saml-auth-success' (meaning the IdP successfully authenticated the user and issued a SAML assertion), but the portal log shows 'user-login-failure: invalid saml assertion'. This indicates the firewall received the assertion but rejected it as invalid. The most common cause for a validly signed assertion to be rejected is clock skew between the firewall and the IdP, because SAML assertions contain timestamps (NotBefore and NotOnOrAfter conditions) that are checked against the local system clock. If the clocks differ by more than the allowed skew (typically 5 minutes), the assertion is considered invalid even though it was correctly signed.
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 IdP does not support IdP-initiated SAML flow
Why it's wrong here
IdP-initiated flow governs how authentication starts, not assertion validation; the firewall already reports saml-auth-success, so the IdP is reachable and responding. It is tempting because IdP-initiated versus SP-initiated mismatches do cause login loops, but those produce different errors, not an invalid assertion signature.
- ✗
The user mapping agent is not configured
Why it's wrong here
The user mapping agent populates IP-to-user mappings for policy enforcement; it plays no part in validating a SAML assertion's signature or audience. It is tempting because mapping agents are a frequent GlobalProtect authentication misconfiguration, but they would be the answer for missing username-to-IP data, not assertion rejection.
- ✓
The firewall and IdP system clocks are out of sync
Why this is correct
Clock skew between the firewall and IdP invalidates the assertion's NotBefore/NotOnOrAfter conditions, so signature validation fails despite successful IdP authentication. The portal rejects the assertion as invalid because its timestamp falls outside the permitted window, satisfying the stem's 'invalid saml assertion' constraint. Synchronising both systems via NTP resolves the repeated credential prompts.
- ✗
The SAML identity provider certificate is expired
Why it's wrong here
An expired IdP certificate would fail signature validation, but the firewall already logged saml-auth-success, meaning it accepted the assertion; the portal then rejected it on separate validation criteria. It is tempting because certificate expiry is a classic SAML fault, and it would be correct if the firewall itself reported signature verification failure.
Go deeper
Related to this question
About these practice questions
This PCNSE question is part of Courseiva's 319-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCNSE practice question is part of Courseiva's free Palo Alto Networks 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 PCNSE exam.