Stellar PHP SDK API Documentation

ContractChallengeValidationErrorMissingServerEntry extends ContractChallengeValidationError

Exception thrown when the server's authorization entry is missing from the challenge.

This exception is thrown when no authorization entry exists where credentials.address matches the server's signing account. Per SEP-45, every challenge must include a signed authorization entry from the server to prove the challenge's authenticity.

Security Impact: Critical security check. Without a server authorization entry, there's no proof the challenge came from the legitimate authentication server. This could indicate a fake challenge created by an attacker to capture client signatures. Always reject challenges without a server entry.

Tags
see
https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0045.md

SEP-45 Challenge Validation

Table of Contents


        
On this page
  • Table Of Contents

Search results