Commit Graph

49 Commits

Author SHA1 Message Date
Fabi
959530ddad
feat: new user auth api (#1168)
* fix: correct selectors for extended writemodel

* fix: no previous checks in eventstore

* start check previous

* feat: auth user commands

* feat: auth user commands

* feat: auth user commands

* feat: otp

* feat: corrections from pr merge

* feat: webauthn

* feat: comment old webauthn

* feat: refactor user, human, machine

* feat: webauth command side

* feat: command and query side in login

* feat: fix user writemodel append events

* fix: remove creation dates on command side

* fix: remove previous sequence

* previous sequence

* fix: external idps

* Update internal/api/grpc/management/user.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* Update internal/v2/command/user_human_email.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* fix: pr changes

* fix: phone verification

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-01-15 09:32:59 +01:00
Livio Amstutz
ff87264f95
feat: set up org (#1157)
* add setup steps

* refactoring

* omitempty

* cleanup

* begin org

* create org

* setup org

* setup org

* merge

* fixes

* fixes

* fixes
2021-01-08 11:33:45 +01:00
Fabi
65a8efeb0e
feat: New user (#1153)
* fix: use pointer in events

* fix: change user requests to command side

* fix: org policy

* fix: profile
2021-01-06 11:12:56 +01:00
Livio Amstutz
21ffe1b0cb
new pkg structure (#1150)
* fix: split command query side

* fix: split command query side

* fix: members in correct pkg structure

* fix: label policy in correct pkg structure

* fix: structure

* fix: structure of login policy

* fix: identityprovider structure

* fix: org iam policy structure

* fix: password age policy structure

* fix: password complexity policy structure

* fix: password lockout policy structure

* fix: idp structure

* fix: user events structure

* fix: user write model

* fix: profile email changed command

* fix: address changed command

* fix: user states

* fix: user

* fix: org structure and add human

* begin iam setup command side

* setup

* step2

* step2

* fix: add user

* step2

* isvalid

* fix: folder structure v2 business

Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
2021-01-04 14:52:13 +01:00
Fabi
7f26f1815b
fix: Previous sequence (#1086)
* feat: remove previous sequence check

* feat: object creation date

* feat: simplify member write model

* feat: simplify write model

* feat: simplify write model
2020-12-14 17:24:01 +01:00
adlerhurst
9a870b7830 facotry to fileter 2020-12-01 14:44:19 +01:00
adlerhurst
0780c23f76 member 2020-11-30 07:56:38 +01:00
adlerhurst
ebeedd1346 policy, idp, member.
member not working atm
2020-11-30 06:40:56 +01:00
adlerhurst
fc861ea544 remove unused fiel 2020-11-27 13:30:08 +01:00
adlerhurst
e48621c1f3 idp command side done 2020-11-27 13:29:35 +01:00
adlerhurst
9487e8bdeb idp 2020-11-27 11:30:56 +01:00
adlerhurst
1b3f821ad0 idp config 2020-11-26 13:14:07 +01:00
adlerhurst
246d4294cf fix(eventstore): tests 2020-11-26 09:19:14 +01:00
adlerhurst
f6cdcee77a append events without return value 2020-11-25 14:12:44 +01:00
adlerhurst
f8028f07d0 event data search query 2020-11-23 19:31:12 +01:00
adlerhurst
4aadd290f4 write model 2020-11-23 11:36:58 +01:00
adlerhurst
20f4fa56c5 try writemodel 2020-11-20 17:03:17 +01:00
adlerhurst
23e6cad703 start implementing new eventstore on iam 2020-11-12 22:50:01 +01:00
adlerhurst
720fea4bcc member 2020-11-11 17:51:44 +01:00
adlerhurst
57fc3ddd16 policies implemented 2020-11-06 22:09:19 +01:00
adlerhurst
f7f810caa5 iam events 2020-11-06 17:25:07 +01:00
adlerhurst
f4bd5ddcbc try splitt event 2020-11-06 13:47:27 +01:00
adlerhurst
756a4f1d08 fix: union 2020-11-05 13:24:37 +01:00
adlerhurst
727d783478 fix: eventstore tests 2020-10-27 16:03:17 +01:00
adlerhurst
faee29bbb6 fix: tests 2020-10-27 15:42:18 +01:00
adlerhurst
936c88c6ed fix: comments 2020-10-26 14:49:42 +01:00
adlerhurst
dfb8c266d7 test: example for eventstore 2020-10-23 16:16:46 +02:00
adlerhurst
b6ed7a396c fix(eventstore): resource owner from previous event 2020-10-22 18:13:31 +02:00
adlerhurst
0f855c86cf test: eventstore queries 2020-10-21 19:45:23 +02:00
adlerhurst
5fc0a808e1 test(eventstore): queries 2020-10-21 19:29:22 +02:00
adlerhurst
3c9c2806c8 test: eventstore 2020-10-21 19:00:41 +02:00
adlerhurst
83121ab44d test: eventstore query 2020-10-21 09:39:24 +02:00
adlerhurst
370597a0e8 fix: remove routines 2020-10-19 13:58:59 +02:00
adlerhurst
35ce026651 try with goroutines 2020-10-19 09:53:32 +02:00
adlerhurst
55e5e82dbc fix(eventstore): set previous sequence NULL if not checked 2020-10-15 16:51:00 +02:00
adlerhurst
62f0d9d59d push tests 2020-10-15 13:25:25 +02:00
adlerhurst
d400b02e53 test(eventstore): push 2020-10-15 08:44:17 +02:00
adlerhurst
639872b82e fix: add tests 2020-10-14 12:43:31 +02:00
adlerhurst
71fd4bf9f9 refactor: eventstore v2 2020-10-06 21:28:09 +02:00
adlerhurst
46a68c15bf fix: eventstore v2 insert statement 2020-10-06 20:20:23 +02:00
adlerhurst
9342efa834 refactor: eventstore v2 2020-10-06 20:19:56 +02:00
adlerhurst
f2559c2027 crdb tests 2020-10-05 22:03:21 +02:00
adlerhurst
53b02b7f5e event data mapping in eventstore v2 2020-10-05 22:02:59 +02:00
adlerhurst
64a0859d76 test(eventstore): sql unit tests 2020-10-05 20:39:36 +02:00
adlerhurst
120a8bae85 refactor(eventstore): sql 2020-10-05 19:09:26 +02:00
adlerhurst
eb51a429ff testing with local cockroach started for tests and migrations 2020-10-02 16:21:51 +02:00
adlerhurst
169b1787df start with cockroach test server 2020-09-30 19:04:52 +02:00
adlerhurst
e4d8478b04 start sqlite migrations 2020-09-30 10:00:05 +02:00
adlerhurst
7da344be26 init v2 2020-09-24 08:52:10 +02:00