canonical / identity-platform-admin-ui

Admin UI for the Canonical identity broker and identity provider solution
Other
6 stars 4 forks source link

Identity provider creation without a mapper url #250

Open edlerd opened 6 months ago

edlerd commented 6 months ago

Description

The POST /api/v0/idps endpoint should inject the correct mapper_url value based on the provider in the payload, in case the mapper_url is empty in the payload.

Motivation

On POST /api/v0/idps a mapper_url field is needed in the payload. The mapper relates to a jsonnet file that needs to be present on the backend. A user can't be expected to know the right value when adding a new identity provider. We should allow idp creation with empty mapper_url and things should "just work".