Skip to content

Conversation

@nitschSB
Copy link
Contributor

@nitschSB nitschSB commented Jan 15, 2025

Add LDAP support for login.

Everytime a new valid users from LDAP logs in, a new vrt-user gets created and stored the database. The password stored in the database is randomly generated and not used during login.

New user creation via the VRT-UI is declined.

I did my best to adopt the factory pattern, like you did for storage.

I also added a e2e with ldap test to the .github/workflow.yml pipeline.

Looking forward to see a merge soon ;)

Cheers
Mario

This is the same as #294 - I forgot that I have the right to create new branches. The pipeline didn't work in my fork (SonarCloud Scan).

resolves Visual-Regression-Tracker/#324

@nitschSB
Copy link
Contributor Author

nitschSB commented Jan 15, 2025

I don't know why the ldap test fails. I worked once on github and always on my machine. Without the docker compose logs I don't know what to do

@nitschSB nitschSB force-pushed the feature/ldap branch 2 times, most recently from d1b42c4 to 9392f5d Compare January 16, 2025 15:13
@nitschSB nitschSB requested a review from pashidlos January 16, 2025 15:23
@nitschSB
Copy link
Contributor Author

My PR finally passed all checks 🥳 !

Maybe you want to look at it now.

Copy link
Member

@pashidlos pashidlos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pashidlos
Copy link
Member

@nitschSB well done!
Thanks for contribution!

@pashidlos pashidlos merged commit 0a0dd09 into master Jan 17, 2025
4 checks passed
@pashidlos pashidlos deleted the feature/ldap branch January 17, 2025 15:38
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.

Add LDAP support for userbase

3 participants