-
Notifications
You must be signed in to change notification settings - Fork 1
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
#71: Keycloak Integration #160
Conversation
9daac08
to
6d627f2
Compare
Why are all the tests failing? It seems like keycloak is not running.. I tried to rebase to the latest master |
TODOs:
|
I had to regenerate all migrations because I removed the python ldap module :( |
620ddde
to
f6105cf
Compare
3da991b
to
92903df
Compare
7efb117
to
a586ea7
Compare
a586ea7
to
e3bf5f1
Compare
@@ -3,7 +3,7 @@ | |||
<p>Als Genossenschaftsmitglied wirst du Miteigentümer:in des WirGarten Lüneburg. Das heißt, du | |||
finanzierst | |||
unser Gemeinschaftsunternehmen mit und hast bei allen zentralen Entscheidungen und Wahlen ein | |||
Stimmrecht. Unter <a href="{{'wirgarten.coop.info_link'|parameter}}">Genossenschaft</a> haben | |||
Stimmrecht. Unter <a href="{{'wirgarten.coop.info_link'|parameter}}" target="_blank">Genossenschaft</a> haben |
Check warning
Code scanning / CodeQL
Potentially unsafe external link
e3bf5f1
to
1b29d02
Compare
1b29d02
to
331c3e2
Compare
SonarCloud Quality Gate failed. 12 Bugs |
I am opening this PR although the integration is not complete yet.
NOTES:
Client authentication
switch is on.http://localhost:8080/admin/
, credentialsadmin
/admin
) a client news to be created and set itsCredentials
(within theCredentials
tab) and generate itsClient secret
. This information needs to be set within the projects settings, underKEYCLOAK_CONFIG
. ForKEYCLOAK_ADMIN_CONFIG
the same credentials can be used.Further steps:
LdapUser
withKeycloakUserApiMixin
Ldap
-related models from Factories.KeycloakUserApiMixin
class replacesLdapUser
these exact same tests need to passmaster
realm for this integration because I was unable to makeKeycloakAdmin
to work without getting `403: b'{"error":"unknown_error"}'. I might have forgotten some settings, so more research is needed hereLdap
groups with KeycloakRoles
Ldap
users toKeycloak
. Exporting users fromLdap
and importing them intoKeycloak
using temporary password should be enough,Ref: #71