Commit Graph
7 Commits
Author SHA1 Message Date
Ralf HaferkampandRalf Haferkamp c9a9fddef1 Consitently switch to stretchr/testify
We were using stretchr/testify and test-go/testify inconsitently and
sometimes mixed in the same tests. This can cause very strange issue,
e.g when using things like mock.MatchedBy().

This moves all our code to stretchr/testify, which seems to be far
more active and maintained then test-go/testify.
2023-06-29 13:44:49 +02:00
Phil Davis 4874da778c Reword 'allow to' sentences 2023-05-18 09:48:29 +05:45
Daniël Franke bc9ba63b06 Fix tests for invitations service. 2023-03-30 11:12:00 +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
Daniël Franke 10f4af1e59 Instead of trying to guess names, ignore them. 2023-03-24 11:43:29 +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