3
0
Commit Graph

18 Commits

Author SHA1 Message Date
Denis Arh
5962d19cd0 Fix external auth provider management 2021-07-14 21:38:52 +02:00
Denis Arh
28e1774cd2 Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it 2021-05-21 06:58:41 +02:00
Peter Grlica
bb1043181c Added SAML service 2021-05-18 08:07:50 +02:00
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
b245726c9b Implement client_credentials g.type with user imp. 2021-04-29 07:46:07 +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
cd2b0c8998 Add support for exporting auth assets, improve dev-exp 2021-03-26 08:11:31 +01:00
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +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
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
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Tit Petric
bdb0844a48 add(auth): separate webservice for auth 2018-09-04 15:37:43 +02:00
Tit Petric
08736dd0f8 add(auth): TokenEncoder interface parth of auth pkg 2018-08-29 17:22:01 +02:00
Denis Arh
5a347dddb5 Types structs reduced & simplified 2018-07-29 16:37:41 +02:00
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00