Tecsisa/foulkon

Allow multiple issuers with their clients

rsoletob opened this issue · 1 comments

Now foulkon allows only one issuer in OIDC connector. An enhancement would be to allow multiple issuers with their clients in configuration file.

Talking with @gerson24, we have decided to implement a configuration using database instead configuration file. To allow this, we need API operations to manage authentication middlewares. At now, we only support OIDC connector.

Proposal:

  • URL: /api/v1/admin/auth/{type}/providers
    Example: /api/v1/admin/auth/oidc/providers

  • URN: urn:iws:auth::{type}/{provider}
    Example: urn:iws:auth::oidc/google

  • Actions:

    • AddAuthProvider
    • GetAuthProvider
    • ListAuthProvider
    • UpdateAuthProvider
    • RemoveAuthProvider