Commit Graph

121 Commits (12661e8a9da93f651b2a87b04f5f9084c91dd2d7)

Author SHA1 Message Date
Arve Knudsen 12661e8a9d
Move middleware context handler logic to service (#29605) 5 years ago
Arve Knudsen 58dbf96a12
Middleware: Rewrite tests to use standard library (#29535) 5 years ago
Arve Knudsen 8d5b0084f1
Middleware: Simplifications (#29491) 5 years ago
taciomcosta 10ff4eecef
Backend: fix IPv6 address parsing erroneous (#28585) 5 years ago
Arve Knudsen 9593d57914
Chore: Enable errorlint linter (#29227) 5 years ago
Arve Knudsen a078e40238
Settings: Rename constants/variables to follow Go naming standards (#28002) 5 years ago
Hansuuuuuuuuuu 8d971ab2f2
Auth: Replace maximum inactive/lifetime settings of days to duration (#27150) 5 years ago
Agnès Toulet a9daaadd50
API: send Login actions (#27249) 5 years ago
Arve Knudsen 4c56eb3991
Chore: Enable goprintffuncname and nakedret linters (#26376) 5 years ago
Marcus Efraimsson d0a80c59f3
Rendering: Store render key in remote cache (#22031) 5 years ago
Marcus Efraimsson fd52570b7f
API: Improve recovery middleware when response already been written (#22256) 5 years ago
Carl Bergquist fe16028e02
Auth: Don't rotate auth token when requests are cancelled by client (#22106) 5 years ago
Anthony Woods f56f54b1a3 Auth: Rotate auth tokens at the end of requests (#21347) 6 years ago
Jeffrey Descan c5f906f472 Security: refactor 'redirect_to' cookie to use 'Secure' flag (#19787) 6 years ago
Arve Knudsen 35e0e078b7
pkg/util: Check errors (#19832) 6 years ago
kay delaney fb0cec5591
Backend: Adds support for HTTP/2 (#18358) 6 years ago
Sofia Papagiannaki 4e29357d15
Backend: Do not set SameSite cookie attribute if cookie_samesite is none (#18462) 6 years ago
Oleg Gaidarenko d88fdc86fc Auth: Do not search for the user twice (#18366) 6 years ago
Oleg Gaidarenko 82661b9f69 Auth: consistently return same basic auth errors (#18310) 6 years ago
gotjosh 332920954e
SAML: Show SAML login button even if OAuth is disabled (#17993) 6 years ago
Sofia Papagiannaki dc9ec7dc91
Auth: Allow expiration of API keys (#17678) 6 years ago
Kyle Brandt bd08d8ce8e
middleware: fix Strict-Transport-Security header (#17644) 6 years ago
Yann Verry ed613194ac HTTPServer: Fix X-XSS-Protection header formatting (#17620) 6 years ago
Oleg Gaidarenko 1b1d951495 LDAP: refactoring (#17479) 6 years ago
Kyle Brandt 599514ad68
middleware: add security related HTTP(S) response headers (#17522) 6 years ago
Oleg Gaidarenko 35f227de11
Feature: LDAP refactoring (#16950) 6 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 6 years ago
Marcus Efraimsson 1c1427520d
Security: Add new setting allow_embedding (#16853) 6 years ago
Marcus Efraimsson f778c1d971
Security: Responses from backend should not be cached (#16848) 6 years ago
Carl Bergquist 9660356638
Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 6 years ago
Oleg Gaidarenko 67cbc7d4cf
Chore: use remote cache instead of session storage (#16114) 6 years ago
Marcus Efraimsson 8678620730
move UserToken and UserTokenService to models package 6 years ago
Marcus Efraimsson a60124a88c
change UserToken from interface to struct 6 years ago
Marcus Efraimsson 44275d9660
middleware fix 6 years ago
Marcus Efraimsson 871c84d195
changes needed for api/middleware due to configuration settings 6 years ago
Marcus Efraimsson d53e64a32c
move auth token middleware/hooks to middleware package 6 years ago
bergquist f257101c41 removes unused/commented code 7 years ago
bergquist 5998646da5 restrict session usage to auth_proxy 7 years ago
Marcus Efraimsson 4096449aec
extract auth token interface and remove auth token from context 7 years ago
bergquist 55b3013eb3 moves initWithToken to auth package 7 years ago
Marcus Efraimsson 734a7d38b2
set cookie name from configuration 7 years ago
Marcus Efraimsson 0d1e3759eb
mixor fixes 7 years ago
Marcus Efraimsson f3125b447b
dead code 7 years ago
bergquist 47a7d93fd9 moves rotation into auth since both happens before c.Next() 7 years ago
bergquist fd937e3d95 remove maxage from session token 7 years ago
Marcus Efraimsson 97c7963f17
fix cannot set cookie when response is written 7 years ago
bergquist c2accfa4c0 inital code for rotate 7 years ago
bergquist aba6148c43 login users based on token cookie 7 years ago
Marcus Efraimsson cfb061ddab
refactor datasource caching 7 years ago
Mario Trangoni e673337cb9 pkg/middleware/middleware.go: Fix empty branch warning. 7 years ago