italia / spid-keycloak-provider

Italian SPID authentication provider for Keycloak (https://www.keycloak.org/)
Apache License 2.0
62 stars 22 forks source link

Problem with Keycloak SP Metadata #68

Closed FabrizioGreco closed 2 months ago

FabrizioGreco commented 2 months ago

Hi,

I use Keycloak and I need to integrate it with SPID for login. I've configured https://github.com/italia/spid-saml-check to test SPID login locally, but when I try to download the Metadata SP from the URL, I get this error: image

I have tried to download the metadata from these pages:

image image

but the error persists.

I have searched online but found nothing. Where can I find the correct Keycloak metadata SP to download?

nicolabeghin commented 2 months ago

The SPID metadata URL is like https://<keycloak>/realms/realmname/spid-sp-metadata as per Wiki

image

Being a custom endpoint it's shown only after the IdP has been set up, in the custom field Metadata URL (there's no other way at the moment due to how Keycloak handles custom metadata URLs)