Commit Graph

76 Commits (a2eb4e85e529ed1eb3954ffc0d083cd59551fa6c)

Author SHA1 Message Date
idafurjes b8852ef6a3
Chore: Remove context.TODO() (#43409) 3 years ago
Emil Tullstedt 12e0a94316
JWT: Split race-y test into two stable tests (#41950) 4 years ago
Emil Tullstedt dbb8246b6b
JWT: Increase distance from now in tests (#41794) 4 years ago
Guillaume GILL 7c5de96503
Auth: Omit all base64 paddings in JWT tokens for the JWT auth (#35602) 4 years ago
Serge Zaitsev 995afa2221
Chore: Refactor GoConvey in auth package (#40850) 4 years ago
idafurjes f4f0d74838
Chore: Add context to user (#39649) 4 years ago
Arve Knudsen 78596a6756
Migrate to Wire for dependency injection (#32289) 4 years ago
Carl Bergquist a10fa5cad3
Instrumentation: Start tracing database requests (#34572) 4 years ago
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