open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.44k stars 1.03k forks source link

Non-existing user entry with SAML SSO leads to login loop #16076

Closed xenji closed 5 months ago

xenji commented 6 months ago

Affected module Probably UI and backend

Describe the bug When I enable SSO via Okta and try to access the application the first time, I end up on the "Sign in with SSO screen". After pressing the button, I am redirected back to the same screen instead of getting logged in.

To Reproduce

Disabling the browser cache in the developer console leads to the correct behavior and displays the initial user creation form. Any further attempts to log in are directly successful. From a pure logical perspective, the issue seems to be at the decision point for showing the user creation form.

Expected behavior User creation form is displayed directly without any loops.

Version:

Additional context

xenji commented 5 months ago

I might be able to share a video recording of this, but only for a limited audience. Please get in touch if you consider this helpful for your analysis.

Sachin-chaurasiya commented 5 months ago

Hello @xenji , thanks for filing a ticket, this issue has been fixed and will be available with the 1.4 release.

xenji commented 5 months ago

I've just upgraded the deployment to the 1.4.0 version and the issue is still present.