scc-digitalhub / AAC

Apache License 2.0
4 stars 7 forks source link

Spid config map safety annotations forbids the creation of "default" providers #592

Closed thomaschiozzi-tndigit closed 5 months ago

thomaschiozzi-tndigit commented 5 months ago

The SpidIdentityProviderConfigMap currently includes annotations to prevent the stortage of identity providers not compliant with SPID specifications. An example can be found here.

https://github.com/scc-digitalhub/AAC/blob/499c5ef49f2fba1bdcb2f5403d85ac062f4ece18/src/main/java/it/smartcommunitylab/aac/spid/provider/SpidIdentityProviderConfigMap.java#L53

This is strategy is currently not compatible with the user console, where identity providers are created by deafult with all fields setted as "zero value" (blank strings, empty maps, empty arrays, etc).