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] [trust marks] a better generalization for dynamic claims in trust marks templates #2

Open peppelinux opened 2 years ago

peppelinux commented 2 years ago

We're considering the requirement to improve the mechanism to mint new trust marks with more dynamic claim then these: https://github.com/peppelinux/spid-cie-oidc-django/blob/49649c2117ecd8fab2dda0bc7a9397030a996795/spid_cie_oidc/onboarding/models.py#L231

we must consider also to have exp claim dynamically defined (this is an easy win)