Skip to content

Unable to update Public Key URI when modifying SSO Discovery URI #28088

@Prajwal214

Description

@Prajwal214

Affected module

Backend

Describe the bug

When updating the SSO configuration, specifically the discoveryURI, there is currently no option available to update the publicKeyURI.

However, during validation, the request checks whether the publicKeyURI matches the updated discoveryURI. Since the publicKeyURI is not taken from the user during the update flow, this results in validation failures.

To Reproduce

  • User updates discoveryURI in SSO config.
  • The publicKeyURI field is not exposed in UI/accepted in the update request.
  • Backend validation checks:
    • publicKeyURI should match the discoveryURI
  • Validation fails because publicKeyURI still contains the old value

Expected behavior

  • Allow users to update publicKeyURI along with discoveryURI, or
  • Auto-fetch/regenerate the publicKeyURI from the updated discoveryURI.

OS

No response

Python version

No response

OpenMetadata version

1.12.6

OpenMetadata Ingestion package version

No response

Additional context

No response

Pre-submission checklist

  • I searched for duplicate issues.
  • I removed credentials, hostnames, emails, and other sensitive data from logs and config.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcustomer

Type

Projects

Status

No status

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions