italia / spid-cie-oidc-django

The SPID/CIE OIDC Federation SDK, written in Python
Apache License 2.0
27 stars 28 forks source link

[Feat] make Evaluate statement endpoint able to start a metadata discovey on each HTTP request if an authorization header is present #130

Closed peppelinux closed 2 years ago

peppelinux commented 2 years ago

Evaluate statement endpoint only give to us a cached metadata of an entity and won't start a metadata discovery if the trust chain is expired or unavailable

with this feature we extends its capabilities to only allowed clients, auhorized by a static token in the HTTP Request headers.

peppelinux commented 2 years ago

Done here https://github.com/italia/spid-cie-oidc-django/pull/168