3
0
Commit Graph

78 Commits

Author SHA1 Message Date
Denis Arh
1d59a3acf2 Allow custom URL prefix for all corteza endpoints
Add new env. variables and options
 - HTTP_BASE_URL to control URL prefix, defaults to /
 - HTTP_SSL_TERMINATED to explicitly set if Corteza is running behind HTTPS
Refresh and document webapp/Makefile with more dev tasks
Fix all absolute URLs in applications, logos, icons
Improve logic behind integrated webapp serving, inject/replace <base href> tag according to URL prefix
Prevent mounting api & webapps to the same base
2021-05-09 16:47:19 +02:00
Denis Arh
9259dd0cce Make sure we set proper ses. lifetime on external login 2021-05-04 19:58:06 +02:00
Denis Arh
838c958162 Replace custom ext. logic with handleSuccessfulAuth() 2021-05-04 19:58:06 +02:00
Mia Arh
58aa46eeea Scale down logo size on 400% browser zoom - accessibility improvement 2021-05-04 10:06:46 +02:00
Mia Arh
89ad43113d Replace card header title tags - accessibility improvement 2021-05-04 09:22:31 +02:00
Denis Arh
10ef5b0df5 Improve how HTTP status on error is sent 2021-04-29 07:46:07 +02:00
Denis Arh
b245726c9b Implement client_credentials g.type with user imp. 2021-04-29 07:46:07 +02:00
Denis Arh
64c9b664df Added messagebus, generated store files, workflow triggers 2021-04-21 10:19:50 +02:00
Denis Arh
cfde435385 Return invalid token on /info endpoint as 403 2021-04-15 07:02:52 +02:00
Denis Arh
315596c603 Remap state param on def. client authorization 2021-04-13 09:57:56 +02:00
Denis Arh
f9d000f203 Load roles for user on signup
In scenario where new user was promoted (1st user) to admin
and email confirmation is not required (due to disabled SMTP),
user's session did not get role memebership info until re-login.
2021-04-03 18:13:19 +02:00
Denis Arh
f16bd31109 Reconfigure log & make auth more robust 2021-04-02 11:38:28 +02:00
Denis Arh
2dd9b7ab41 More flexible auth client redirect URI checking 2021-03-27 17:15:16 +01:00
Denis Arh
4c57c4a7b6 Failsafe for unexisting user meta 2021-03-27 16:11:25 +01:00
Denis Arh
cd2b0c8998 Add support for exporting auth assets, improve dev-exp 2021-03-26 08:11:31 +01:00
Denis Arh
1c3e3078b2 Clear KV from session after showing it to user 2021-03-20 17:54:48 +01:00
Denis Arh
4ffe124f98 Fix password reset flow 2021-03-20 17:26:18 +01:00
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +01:00
Peter Grlica
f96211b8c6 Removed session memstore, mocked it in tests
Updated mocked notification service
2021-03-12 13:21:10 +01:00
Peter Grlica
4a08f08f84 Added oauth2 interface to authRequest 2021-03-12 13:15:41 +01:00
Peter Grlica
6de0424b9f Added auth tests 2021-03-12 13:15:36 +01:00
Mia Arh
a7c539af22 Add extra margin on empty authorized client list 2021-03-08 19:49:15 +01:00
Mia Arh
e4de4b1c8a Adjust icons margin 2021-03-08 19:49:15 +01:00
Mia Arh
76c57ac82b Style toast notifications 2021-03-08 19:49:15 +01:00
Mia Arh
71b96ef658 Update MFA screens 2021-03-08 19:02:28 +01:00
Mia Arh
f4dcf5bd18 Update security screen 2021-03-08 19:02:28 +01:00
Mia Arh
4f8a9e0d27 Update dev scenarios screen 2021-03-08 19:02:28 +01:00
Denis Arh
2972437421 Fix auth asset embeding & serving 2021-03-08 16:24:49 +01:00
Denis Arh
cbc5034e8f Add support for MFA 2021-03-07 18:58:16 +01:00
Denis Arh
c653c5df90 Change alerts to toasts, add bootstrap's js libs 2021-03-06 16:45:22 +01:00
Denis Arh
4aa94b06e2 Add security page 2021-03-06 16:45:22 +01:00
Denis Arh
a837f88826 Fix auth dev screen nav&js 2021-03-06 16:45:22 +01:00
Denis Arh
34a58d3410 Add 'active' class to active nav item 2021-03-06 16:45:22 +01:00
Mia Arh
782ea71c87 Add missing bg image 2021-03-06 16:45:22 +01:00
Mia Arh
c822099cb7 Adjust screens for mobile responsive 2021-03-06 16:45:22 +01:00
Mia Arh
2e88a9d5c9 Move logged user information to top right 2021-03-06 16:45:22 +01:00
Mia Arh
92500a6f08 Add active nav item styling 2021-03-06 16:45:22 +01:00
Mia Arh
a5e8c0d8a9 Redesign all auth forms and background 2021-03-06 16:45:22 +01:00
Denis Arh
0598f6502b Switched auth assets from statik to go:embed 2021-02-24 06:16:13 +01:00
Denis Arh
06eb038ba8 Add dev-mode with list of templates & scenarios 2021-02-23 19:58:29 +01:00
Denis Arh
4da09168f4 Post auth-merge cleanup 2021-02-23 17:37:22 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Tit Petric
fdf24b3e2c Refactor for new system service
- upd(all): indent spec.json files on all apps
- upd(auth): rename auth app to cmd
- upd(sam): move orgs, teams to system
- upd(system): extend spec.json for check
- upd(codegen): include system/
- upd(codegen): always generate spec files
- upd(sam): references from auth to system
2018-11-05 12:04:04 +01:00
Denis Arh
8c2d91122d Fix tests, add new mock for auth/svc/users 2018-10-29 13:47:03 +01:00
Tit Petric
9a8bef927d upd(tests): skip migrations in short mode, add t.Skip to crm 2018-10-29 10:56:18 +01:00
Tit Petric
f78a35b989 add(all): protect metrics with basic auth 2018-10-26 12:43:36 +02:00
Tit Petric
adeefdbeaa fix(all):
- config fixes for singleton values (most)
- add monitor into internal/metrics
- clean up cmd folders to remove monitor
- implement versions on all apps
2018-10-26 11:20:15 +02:00
Denis Arh
4f13e8304f Implement message threads 2018-10-19 15:07:09 +02:00
Denis Arh
64aee5a25b Improve rval for /check endpoint (now uses outgoing.User) 2018-10-14 09:44:11 +02:00
Denis Arh
602f77c2f1 Inject version & build-time info and show it on startup & on /version endpoint 2018-10-14 09:42:48 +02:00