Commit Graph

68 Commits (6bbb2fd4ba96e9fd55d7fa65d87e2ef73af7b128)

Author SHA1 Message Date
Vladimir Kochnev 39a3b0d0b0
Auth: support JWT Authentication (#29995) 4 years ago
Joan López de la Franca Beltran 610999cfa2
Auth: Allow soft token revocation (#31601) 4 years ago
Carl Bergquist 5114fa39ce
we should never log unhashed tokens (#31432) 4 years ago
Agnès Toulet 2a70c73025
Auth: add expired token error and update CreateToken function (#30203) 4 years ago
Arve Knudsen 25048ebdf8
Chore: Add CloudWatch HTTP API tests (#29691) 4 years ago
Arve Knudsen 12661e8a9d
Move middleware context handler logic to service (#29605) 5 years ago
taciomcosta 10ff4eecef
Backend: fix IPv6 address parsing erroneous (#28585) 5 years ago
Arve Knudsen b5379c5335
Chore: Fix SQL related Go variable naming (#28887) 5 years ago
Arve Knudsen 676d393ec9
Chore: Fix issues reported by staticcheck; enable stylecheck linter (#28866) 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
Arve Knudsen 41d432b5ae
Chore: Enable whitespace linter (#25903) 5 years ago
Arve Knudsen 2a78d2a61c
pkg/services: Check errors (#19712) 6 years ago
Arve Knudsen b858a5f496
Don't truncate IPv6 addresses (#19573) 6 years ago
Leonard Gram d71043609e
Testing: Include BatchRevoke for all tokens in the fake. (#17728) 6 years ago
Alexander Zobnin 60ddad8fdb
Batch disable users (#17254) 6 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 6 years ago
Carl Bergquist 9660356638
Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 6 years ago
Carl Bergquist 490515aec6
build: partially replace gometalinter with golangci-lint (#16610) 6 years ago
Marcus Efraimsson 8029e48588
support get user tokens/revoke all user tokens in UserTokenService 6 years ago
bergquist 7754c37a1f reduce loglevel to debug 6 years ago
bergquist e163aadfe4 use authtoken for session quota restrictions 6 years ago
bergquist 170783c292 make hourly cleanup the default behavior 6 years ago
Marcus Efraimsson 1a140ee199
run token cleanup job when grafana starts, then each hour 6 years ago
Marcus Efraimsson 8ae066ab5d
move authtoken package into auth package 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 d8658a765c
enhanced expiration logic for lookup token 6 years ago
Marcus Efraimsson 9483506590
auth token clean up job now runs on schedule and deletes all expired tokens 6 years ago
Marcus Efraimsson 0915f931ae
change configuration settings in auth package 6 years ago
Marcus Efraimsson 7cd3cd6cd4
auth package refactoring 6 years ago
bergquist a6bd2c73a0 introduce samesite setting for login cookie 6 years ago
bergquist a1b3986532 always delete session cookie even if db delete fails 6 years ago
bergquist 91bd908e03 adds more tests signing out session 6 years ago
bergquist 11c4967bdc changes some info logging to debug 6 years ago
bergquist 88ca54eba9 renames signout function 6 years ago
bergquist 43ac79685a delete auth token on signout 6 years ago
bergquist 75760aa892 dont specify domain for auth cookies 6 years ago
bergquist d6edaa1328 moves cookie https setting to [security] 6 years ago
bergquist 516037fbdd makes sure rotation is always higher than urgent rotation 6 years ago
bergquist fd0f9f2dd2 fixes broken test 6 years ago
bergquist ff483f3782 removes old cookie auth configuration 6 years ago
bergquist 56a521b264 makes auth token rotation time configurable 6 years ago
bergquist c3ff3d644c fixes nil ref in tests 6 years ago
bergquist 64124b5042 add setting for how to long we should keep expired tokens 6 years ago
bergquist 12f8338977 stores hashed state code in cookie 6 years ago
bergquist d3ec8e1ccb creates new config section for login settings 6 years ago
Marcus Efraimsson 4096449aec
extract auth token interface and remove auth token from context 6 years ago
Marcus Efraimsson 366e356e08
more auth token tests 6 years ago
bergquist 777bd9ea18 adds cleanup job for old session tokens 6 years ago