Commit Graph

29 Commits

Author SHA1 Message Date
Daniël Franke
a52ebd1f79 Make getUserByParams private. 2023-04-19 10:46:50 +02:00
Daniël Franke
81491efdc7 Remove GetUserByEmail method. 2023-04-19 10:19:07 +02:00
Daniël Franke
30edab9f69 Search users by username instead of by email
As some setups don't have email addresses setup or reuse email
addresses, the keycloak search has to be done by username as that
is guaranteed to always be unique and defined.

This PR changes that.
2023-04-18 11:43:13 +02:00
Daniël Franke
2d8fb2549a Add modified mock. 2023-04-14 15:09:54 +02:00
Daniël Franke
2e8b741530 improve readme
Co-authored-by: Martin <github@diemattels.at>
2023-04-14 15:09:54 +02:00
Daniël Franke
8e32b4f5da Integrate keycloak and events data into graph.
This PR adds the data from keycloak and events into the GDPR export of
the graph service.
2023-04-14 15:09:54 +02:00
mmattel
b2504035e0 fix readme service names 2023-04-12 18:40:41 +02:00
kobergj
e46041b01f Merge pull request #5955 from owncloud/ainmosni/feature/keycloak-pkg
Add keycloak package.
2023-03-30 15:01:49 +02:00
Daniël Franke
bc9ba63b06 Fix tests for invitations service. 2023-03-30 11:12:00 +02:00
Martin
2ac804cb89 [docs-only] Update example-realm.json
Remove not necessary source code ticks from file.
2023-03-29 14:42:25 +02:00
mmattel
b52a2bf8a9 [docs-only] Just a small README.md fix for invitations 2023-03-29 14:19:32 +02:00
Daniël Franke
5793970e5d Add keycloak package.
This PR adds the keycloak package, which contains the following:

* More genericised functions for the invitations backend.
* User query functions.
* PII query functions.
2023-03-29 13:37:03 +02:00
mmattel
de430db057 fix codacy 2023-03-29 12:57:20 +02:00
Edith Parzefall
d9bccac3ae Apply suggestions from code review
language review
2023-03-29 12:02:55 +02:00
mmattel
052cd0f273 Fix invitations README.md 2023-03-29 11:31:09 +02:00
Jörn Friedrich Dreyer
31471df033 fix markdown 2023-03-24 12:43:53 +01:00
Jörn Friedrich Dreyer
a1bb47b180 drop commented code 2023-03-24 12:10:58 +01:00
Jörn Friedrich Dreyer
f33c524a5d delete unnecessary files 2023-03-24 12:07:57 +01:00
Daniël Franke
10f4af1e59 Instead of trying to guess names, ignore them. 2023-03-24 11:43:29 +01:00
Daniël Franke
177cd0bb57 Update services/invitations/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-03-24 11:43:26 +01:00
Daniël Franke
1a7e2fd782 Update services/invitations/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-03-24 11:43:22 +01:00
Daniël Franke
361af723a5 Update services/invitations/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-03-24 11:43:18 +01:00
Daniël Franke
9355ed6812 Add tests for keycloak backend. 2023-03-24 11:43:14 +01:00
Daniël Franke
f244869e91 Use keycloak for invitations backend.
As keycloak already supports everything needed for the required
invitation flow, it's ideal to use as the first backend to create users
and to send them invitation mails.

This PR implements that as the first and (for now) only backend.
2023-03-24 11:43:11 +01:00
Jörn Friedrich Dreyer
fc5e4ea7d1 generic http backend provisioning requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-24 11:43:07 +01:00
Jörn Friedrich Dreyer
5d7a19997b correctly add new service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-24 11:43:03 +01:00
Jörn Friedrich Dreyer
6c82451956 Update services/invitations/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-03-24 11:42:59 +01:00
Jörn Friedrich Dreyer
f8fd49a9a9 invitation implementation outline
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-24 11:42:53 +01:00
Jörn Friedrich Dreyer
f805cca363 initial invitations skeleton
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-24 11:42:48 +01:00