italia / spid-keycloak-provider

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

Change generated EntityDescriptor ID with hash of content #33

Closed blievens closed 1 year ago

blievens commented 2 years ago

Change generation of EntitiyDescriptor ID of generated metadata file.
Using hash of metadata file content instead of new random uuid for each request. This results in returning same metadata for each GET of endpoint if the configuration does not change.

lscorcia commented 2 years ago

Thank you @blievens ! I think this is something that would actually be interesting for the whole Keycloak project. If you have the time, would you mind submitting a PR there too? Meanwhile I'll also review it and incorporate it here.

lscorcia commented 1 year ago

Merged with minor modifications. Thanks!