Denis Arh
5bfbab6a4e
Implement namespace CRUD + various small fixes
...
Other fixes and improvements:
- add parseISODateWithErr and parseISODatePtrWithErr handlers for incoming data
- add service & repository errors
- cleanup old (unbound) attachment controllers from router
- fix system repository error prefix (auth => system)
2019-04-29 18:51:18 +02:00
Denis Arh
5be1b607f5
Add 'users jwt <email>' command
...
Command generates valid JWT for that user
2019-04-27 13:19:14 +02:00
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
Tit Petric
c297b173eb
upd(all): lock migrations table
2019-04-26 22:11:28 +02:00
Tit Petric
1dabd7a838
upd(system): extend user api with avatars
2019-04-26 22:11:28 +02:00
Denis Arh
3026a594ed
Decupling system & messaging, removing Organisation type mess
2019-04-26 14:37:23 +02:00
Denis Arh
5d61b3d8cd
Logout should return true on success
2019-04-24 19:05:06 +02:00
Denis Arh
6d607f52ac
Update auth help/instructions
2019-04-24 19:04:50 +02:00
Denis Arh
b40c7d5886
Disable sys routes test
2019-04-23 19:44:43 +02:00
Denis Arh
ce55535fd7
Fix auth service tests
2019-04-23 19:29:55 +02:00
Denis Arh
91d98f9faf
Add system:application permission rules to reset procedure
2019-04-19 13:24:44 +02:00
Denis Arh
11def550c6
Refactor JWT init flow
2019-04-18 19:55:37 +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
518bbc1e7f
Improve auth flow, errors
2019-04-18 07:32:38 +02:00
Denis Arh
60f35bef47
Expose auth settings through REST API
2019-04-18 07:32:07 +02:00
Denis Arh
f44648a3ea
Remove email comparison after profile match check
2019-04-15 09:38:26 +02:00
Denis Arh
f3d53ecd5b
Add extra checks, typos fixed
2019-04-15 09:37:57 +02:00
Denis Arh
3f83a33622
Change password reset flow, add token exchange step
2019-04-09 22:35:39 +02:00
Denis Arh
4c4445d2a2
Code cleanup, settings tweaking
2019-04-09 21:37:14 +02:00
Denis Arh
5dd9694606
Move auth init to StartRestAPI()
2019-04-09 08:58:31 +02:00
Denis Arh
dd5a2832d0
REST endpoints for /auth/internal
2019-04-09 08:58:31 +02:00
Denis Arh
1912cd7cf4
Improve system-cli "users" command, add password change
2019-04-09 08:58:31 +02:00
Denis Arh
1417242962
Complete internal auth procedures (login, signup, pwd-recovery...)
2019-04-09 08:58:31 +02:00
Denis Arh
758d57a4af
Local sign-up
2019-04-09 08:58:31 +02:00
Denis Arh
1cbf591f73
Update used credentials on external authentication
2019-04-09 08:58:31 +02:00
Denis Arh
d18473568e
Basic credentials set/check
2019-04-09 08:58:31 +02:00
Denis Arh
b6f7d0e097
Refactoring, polishing system-cli entry path
2019-04-09 08:55:30 +02:00
Denis Arh
14452b0ea5
Refactor CLI functions; unify func signature
2019-04-04 00:11:29 +02:00
Denis Arh
5bdee34903
Refactor "users" CLI command
2019-04-04 00:00:58 +02:00
Denis Arh
32e2069c45
Refactor "roles" CLI command
2019-04-04 00:00:39 +02:00
Denis Arh
375e155f9c
Refactor CLI commands exit() helper
2019-04-03 23:14:20 +02:00
Denis Arh
6719d2cdf8
Move role/rule reset code out of repository to CLI command
2019-04-03 23:09:34 +02:00
Denis Arh
836b899e7e
Fix external auth unit tests
2019-04-03 19:23:38 +02:00
Denis Arh
b8a3dd367a
Remove obsolete GeneratePassword calls
2019-04-03 19:22:25 +02:00
Denis Arh
259090c075
Remove obsolete statik.go files
2019-04-03 18:32:23 +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
Denis Arh
8c04cf3c8d
CLI refactoring
2019-04-03 17:46:39 +02:00
Tit Petric
cfeee9153a
upd(system): disable e2e system tests
2019-04-03 17:42:27 +02:00
Tit Petric
28bddb0d40
upd(system): comment out failing test
2019-04-03 17:40:23 +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
3966ba695c
upd(system): error messages, service init cleanup
2019-04-03 14:26:11 +02:00
Tit Petric
ac4ec2570a
add(system): repository BindAvatar()
2019-04-03 14:24:22 +02:00
Tit Petric
aaf848d4fd
upd(system): import updated tests
2019-04-03 14:22:00 +02:00
Tit Petric
3d9b1e15f1
upd(system): make internal repository consistent
2019-04-03 14:21:27 +02:00