Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: changes from first PR (sso) #2667

Merged
merged 15 commits into from
Nov 4, 2024
Merged

fix: changes from first PR (sso) #2667

merged 15 commits into from
Nov 4, 2024

Conversation

huglx
Copy link
Contributor

@huglx huglx commented Nov 1, 2024

I'll try to summarize what I've done here:

  1. Functions and fields have been renamed.
  2. Moved the SsoTenant class from the EE repository.
  3. Removed SsoConfig (entity to store UserAccount and domain name); now uses the relationship between SsoTenant and UserAccount.
  4. Added a foreign key for the organization in SsoTenant.
  5. Use of a cacheable user entity to validate SSO users instead of using a cache with an expiration manager.
  6. Kept the global tenant in the database since the link between SsoTenant and UserAccount does not work without it.
  7. Threw an exception when disabling native authentication and attempting to log in.
  8. When saving the thirdAuthType enumeration, @Convert is used instead of @Enumerated.

@huglx huglx requested a review from Anty0 November 1, 2024 17:39
@huglx huglx changed the title fix: changes from first PR fix: changes from first PR (sso) Nov 4, 2024
@Anty0
Copy link
Collaborator

Anty0 commented Nov 4, 2024

I'll take care of fixing the rest of these. :)

@Anty0 Anty0 merged commit 5eb67cd into sso Nov 4, 2024
27 of 29 checks passed
@Anty0 Anty0 deleted the ivanmanzhosov/sso branch November 4, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants