Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for IAM
    • Fixing errors when assigning the resource-manager.clouds.owner role to the Yandex Cloud user
    • Fixing errors related to invitations to a cloud organization
    • Fixing errors when adding a new user to a cloud organization
    • Fixing the "The signature of response or assertion was invalid" error when authorizing by a federated account
    • Resolving Issues when creating OAuth tokens on behalf of Yandex ID accounts
    • Resolving Issues when transferring a cloud between organizations
    • Resolving the "OAuth token is invalid or expired" error
    • Resolving the "Contact your organization's administrator for a new invitation" error
    • Resolving the "Service account is not available" error
    • Deleting a cloud
    • Canceling cloud deletion
    • How to change the cloud owner
    • How to change the organization owner

In this article:

  • Issue description
  • Solution
  1. IAM
  2. Fixing the "The signature of response or assertion was invalid" error when authorizing by a federated account

Fixing the «The signature of response or assertion was invalid» error when authorizing by a federated account

Written by
Yandex Cloud
Updated at October 17, 2024
  • Issue description
  • Solution

Issue descriptionIssue description

When you try to use a federated account to access your cloud, you see this error message:

    "title": "The signature of response or assertion was invalid.\n",
    "status": 400,
    "instance": "/federations/bpf...",
    "request-id": "1a0d23..."

SolutionSolution

The certificate used to sign requests on the IdP provider side has probably been updated or changed.
When the certificate changes on the IdP provider side, you also need to replace it on the cloud federation side.

As an example, you can use a guide on how to add a certificate to a federation manually from AD FS.
This process is described on the "Authenticating using Active Directory" documentation page.

You can also automate the certificate update process using the create method for the Certificate resource or using YC CLI.

To update the certificate on the federation side using YC CLI, run the command:

yc organization-manager federation saml certificate create --federation-name <FEDERATION_NAME> \
  --name "my-certificate" \
  --certificate-file test.pem

Based on this, you can create a PowerShell script to automate adding a certificate to a federation.

Was the article helpful?

Previous
Fixing errors when adding a new user to a cloud organization
Next
Resolving Issues when creating OAuth tokens on behalf of Yandex ID accounts
© 2025 Direct Cursus Technology L.L.C.