eclipse-tractusx / portal-backend

Portal Backend
Apache License 2.0
7 stars 20 forks source link

IdP Management #532

Open jjeroch opened 7 months ago

jjeroch commented 7 months ago

Summary

Restructure IdP management endpoints

As-Is GET /api/administration/identityprovider/owncompany/identityproviders

Functional Usage: used to display company IdPs

To-Be We need to differenciate between

=> solution: add separate endpoints to validate the IdP types

Endpoint to receive SharedIdPs (GET /api/administration/identityprovider/shared)

Endpoint to receive ownIdPs (GET /api/administration/identityprovider/owncompany/managedOwner)

additionally the following endpoints are useful

Endpoint to receive ownIdPs (GET /api/administration/identityprovider/owncompany/owned)

Endpoint to receive ownIdPs (GET /api/administration/identityprovider/owncompany/managedUser)

those are also covered by GET /api/administration/identityprovider/owncompany/identityproviders which provides the summarized response of those two endpoints.

MaximilianHauer commented 1 month ago

@oyo could you provide us an overview of the used places of the current API /api/administration/identityprovider/owncompany/identityproviders that we can define where to adjust what api