Cognito SAML IdP Metadata File vs URL

0

I have setup Cognito with a SAML Identity Provider. When I upload the IdP metadataEnter image description here it all works fine.

However, when I enter a metadata document endpoint URL, it breaks. I have confirmed that the URL works and that both files are identical (the metadata document I upload from the console vs the document picked up by the URL.) No errors are thrown when I click Save changes: Enter image description here

The error I am getting when I try to login and Cognito uses the metadata URL is: error?error=invalid_request&client_id= The error is thrown by the /oauth2/authorize endpoint. The exact, same endpoint (same query params, everything is the same) works fine with the manually uploaded metadata document.

On the other hand, authentication is successful, when Cognito uses the metadata document uploaded directly from the console.

This make no sense to me. Any ideas what might be wrong?

Many thanks.

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen