canonical / identity-platform-admin-ui

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

Generate id when creating an identity provider if id field is not provided within the POST payload #227

Closed mas-who closed 3 months ago

mas-who commented 4 months ago

When establishing an identity provider using the POST /api/v0/idps endpoint, specifying an empty id field can lead to the newly created identity provider lacking an id field altogether. If multiple identity providers are created this way then it becomes impossible to differentiate between those entities via the GET /api/v0/idps/{id} endpoint.

Propose we should generate the id field within the POST handler for an identity provider if id field is not provided in the payload.

syncronize-issues-to-jira[bot] commented 4 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-760.

This message was autogenerated