scc-digitalhub / AAC

Apache License 2.0
4 stars 7 forks source link

OIDC-Fed: accounts created with an openidfed provider not returned by endpoint #489

Open thomaschiozzi-tndigit opened 10 months ago

thomaschiozzi-tndigit commented 10 months ago

The endpoint /users/{realm}/{userId}/account , managed by the block of code below, does not return any account generated with an openidfed provider https://github.com/scc-digitalhub/AAC/blob/bcce0b213c0e8933be7fd35ea2fcf9ee1750210b/src/main/java/it/smartcommunitylab/aac/users/controller/BaseUserController.java#L220-L233

as a result, among the others, accounts created with an openidfed provider cannot be viewed and managed by console (note that just accounts are not visbile: users created when logging with an openidfed provider are indeed visible).

matteo-s commented 10 months ago

good catch. We currently lack account service for openidfed. Moving to 'enhancement' because it is not required.