3
0
Commit Graph

53 Commits

Author SHA1 Message Date
Denis Arh
980b6d581c Refactor JWT encoder/handler
Handler is no longer passed as argument into routes etc but initialized in the Init()
and stored into auth.DefaultJwtHandler.
2019-04-27 13:17:37 +02:00
Tit Petric
0ec0431beb upd(system): implement check, return handler 2019-04-26 22:11:28 +02:00
Tit Petric
98a3fc059e upd(all): regenerate handlers 2019-04-26 22:11:28 +02:00
Denis Arh
5d61b3d8cd Logout should return true on success 2019-04-24 19:05:06 +02:00
Denis Arh
c4104488e5 More strict ext-auth protocols, remove jwt cookie + small fixes 2019-04-18 19:53:02 +02:00
Denis Arh
316651c99a Remove explicit jwt-in-a-cookie requirement from /auth/check 2019-04-18 07:33:17 +02:00
Denis Arh
60f35bef47 Expose auth settings through REST API 2019-04-18 07:32:07 +02:00
Denis Arh
3f83a33622 Change password reset flow, add token exchange step 2019-04-09 22:35:39 +02:00
Denis Arh
dd5a2832d0 REST endpoints for /auth/internal 2019-04-09 08:58:31 +02:00
Denis Arh
d5212f267c Refactor credentials, migrate to /auth/external/ (from /social) 2019-04-03 18:07:14 +02:00
Denis Arh
b84ed43f27 Refactored settings 2019-04-03 17:46:39 +02:00
Tit Petric
74d1afdeea upd(system): add ctx to service ctors, tests 2019-04-03 17:05:51 +02:00
Tit Petric
947548b4f5 upd(system): extend user with typed kind and meta 2019-04-03 15:28:39 +02:00
Tit Petric
e27720dc93 upd(all): codegen update handlers/request pkgs 2019-04-03 14:45:38 +02:00
Tit Petric
9aa9cabd3e upd(system): check for error in UserInfo 2019-03-21 15:13:43 +01:00
Tit Petric
6934917da0 upd(all): merge fix/coupling-issues-stage-1 2019-03-14 22:45:04 +01:00
Tit Petric
99acac156f upd(all): refactor imports, system service api 2019-03-14 22:22:16 +01:00
Denis Arh
e352f065c3 Add /permissions/effective endpoint, missing operations 2019-03-12 17:51:18 +01:00
Denis Arh
4eb27a4dd4 Add missing context to permission endpoints 2019-03-11 14:14:26 +01:00
Mitja Zivkovic
73c9debe2f upd(system) rename permission service to rules 2019-03-11 11:47:36 +01:00
Denis Arh
ebfab252fc Add system/applications
- CRUD support for applications
 - new (application related) permissions
2019-03-09 18:52:00 +01:00
Denis Arh
24ff7d4289 Remove spew.Dump() artefacts 2019-03-01 20:20:13 +01:00
Denis Arh
79229ef1f1 Append suffix to receiver name to avoid naming colision
Names starting with letter r colided with r for *http.Request
2019-02-28 23:51:36 +01:00
Mitja Zivkovic
2ecc83c52e upd(messaging): add permission checking 2019-02-25 17:11:54 +01:00
Denis Arh
996a9fca67 Fix system REST api naming consistency (remove/delete) 2019-02-24 10:29:20 +01:00
Denis Arh
a5a50cff2e Fix in/out payload types to string 2019-02-24 09:32:45 +01:00
Mitja Zivkovic
26a0668a83 upd(system): on create/update role also manage members 2019-02-24 09:32:45 +01:00
Denis Arh
e2c2c9df4a Fix role membership management endpoints & ctrls 2019-02-24 09:32:22 +01:00
Mitja Zivkovic
47b798bbdc upd(system) listing all defined permissions 2019-02-22 21:20:27 +01:00
Mitja Zivkovic
0a517bcd23 upd(system): permission.Get to Read 2019-02-22 20:03:01 +01:00
Mitja Zivkovic
c697ae2e13 upd(system): rename to rest/permission 2019-02-22 19:52:34 +01:00
Mitja Zivkovic
8cc4551efc upd(system): add Permissions API 2019-02-21 20:48:06 +01:00
Denis Arh
3911316321 Changes to system REST & service layer 2019-02-11 20:57:14 +01:00
Tit Petric
eba7af3e5c upd(system): update oidc state cookie domain 2019-01-30 02:03:00 +00:00
Denis Arh
9557b0ebb5 Enable user filtering by email and username 2019-01-22 13:22:35 +01:00
Denis Arh
ae733dc2c9 Credentials & social-sign-on, fixed mocks 2019-01-14 10:40:52 +01:00
Mitja Zivkovic
b02e542ae7 fix(system): add parsing of request to fill login parameters 2019-01-08 08:50:36 +01:00
Denis Arh
e6c8a4339f Add more sanity checks in oidc client reg flow 2018-12-17 07:19:13 +01:00
Tit Petric
43554592e4 upd(codegen): enable imports with requests 2018-12-04 15:26:51 +01:00
Tit Petric
6be72a3dcf ws(codegen): codegen code update 2018-12-04 14:38:31 +01:00
Tit Petric
8019940dd6 fix(codegen): fix syntax error, gofmt 2018-11-29 21:06:34 +01:00
Tit Petric
6ab0c9bf09 upd(system):
- update apis for login and logout,
- make OIDC routes and setup optional,
- refactor entrypoint to open up http testing
2018-11-26 17:01:39 +01:00
Tit Petric
256a45bdb6 add(system): login/logout api, rename PK fields 2018-11-25 22:57:48 +01:00
Tit Petric
2049550e67 fix(system): member add/remove fix 2018-11-25 22:01:20 +01:00
Tit Petric
d4170ff97e upd(crm): returns entityID 2018-11-25 15:23:48 +01:00
Tit Petric
0e20de4eb9 upd(system): print oidc config on startup 2018-11-25 14:15:03 +01:00
Tit Petric
7c79f1cf38 add(system): user 'kind' to denote bots 2018-11-25 12:03:43 +01:00
Tit Petric
d0233e3377 add(system): implement additional user apis 2018-11-25 11:01:42 +01:00
Mitja Z
e7ea318f17 upd(system): add team membership apis (#2)
* upd(system): add team membership apis

* fix(all): fix codegen.sh for mac OS

* fix(system): replace, delete and tests
2018-11-25 11:00:59 +01:00
Denis Arh
43a7a054b3 Reissue & extend cookies on /auth/check 2018-11-19 06:32:48 +01:00