Commit Graph

101 Commits (4ed901e1f9d4ed3ede6a1e379b711b5d6de08850)

Author SHA1 Message Date
Arve Knudsen dd2d206d99
Backend: Remove more globals (#29644) 5 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
Torkel Ödegaard 763e958d9d
Login: Fixes redirect url encoding issues of # %23 being unencoded after login (#29299) 5 years ago
Arve Knudsen 294770f411
Chore: Handle wrapped errors (#29223) 5 years ago
Arve Knudsen cb62e69997
Chore: Convert API tests to standard Go lib (#29009) 5 years ago
Agnès Toulet 2c246276fd
API: replace SendLoginLogCommand with LoginHook (#28777) 5 years ago
Agnès Toulet 65b5086a59
API: add login username in SendLoginLogCommand (#28544) 5 years ago
Alexander Zobnin d13c6b4c5a
OAuth: Able to skip auto login (#28357) 5 years ago
Alexander Zobnin b55a51e270
SAML Single Logout (#27995) 5 years ago
Arve Knudsen a5d9196a53
Chore/fix lint issues (#27704) 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
Sofia Papagiannaki fefbbc65a8
Auth: Add support for forcing authentication in anonymous mode and modify SignIn to use it instead of redirect (#25567) 6 years ago
Alexander Zobnin f023e7a399
SAML Role and Team sync (open source part) (#23391) 6 years ago
Erik Sundell d94796a022
Auth: Remove trailing / in cookies' path (#22265) (#22265) 6 years ago
Carl Bergquist 3798ac903d
Upgrade golangci-lint and fixes some linting errors. (#22909) 6 years ago
Sofia Papagiannaki be022d4239
API: Fix redirect issues (#22285) 6 years ago
Brian Gann 0e2d874ecf
API: Fix redirect issue when configured to use a subpath (#21652) 6 years ago
Marcus Efraimsson a1579283a6
Add disabled option for cookie samesite attribute (#21472) 6 years ago
Jeffrey Descan c5f906f472 Security: refactor 'redirect_to' cookie to use 'Secure' flag (#19787) 6 years ago
Sofia Papagiannaki b12dc890b8
API: Validate redirect_to cookie has valid (Grafana) url (#21057) 6 years ago
Torkel Ödegaard be2bf1a297
AuthProxy: Can now login with auth proxy and get a login token (#20175) 6 years ago
Leonard Gram 992b4b8adf
Licensing service (#19903) 6 years ago
Dominik Prokop 44a2a648c6
Login: fix login page failing when navigating from reset password views (#19124) 6 years ago
Sofia Papagiannaki 4e29357d15
Backend: Do not set SameSite cookie attribute if cookie_samesite is none (#18462) 6 years ago
gotjosh 2f240a11ce SAML: Only show SAML login button on Enterprise version (#18270) 6 years ago
Oleg Gaidarenko d16fd58bdb
Auth: do not expose disabled user disabled status (#18229) 6 years ago
Oleg Gaidarenko 75fa1f0207 Metrics: use consistent naming for exported variables (#18134) 7 years ago
Sofia Papagiannaki 78ca55f3d7
Fix: Break redirect loop if oauth_auto_login = true and OAuth login fails (#17974) 7 years ago
Leonard Gram b67905a963
Auth: saml enabled check. (#17960) 7 years ago
Leonard Gram e574147b1e Auth: SAML login button. (#17932) 7 years ago
Anthony Templeton 0d2be0a7ed Logging: Login and Logout logging actions (#17760) (#17883) 7 years ago
Alexander Zobnin 2d03815770
Users: Disable users removed from LDAP (#16820) 7 years ago
zhulongcheng 2fff8f77dc move log package to /infra (#17023) 7 years ago
Carl Bergquist 9660356638
Auth: Enable retries and transaction for some db calls for auth tokens (#16785) 7 years ago
Carl Bergquist 490515aec6
build: partially replace gometalinter with golangci-lint (#16610) 7 years ago
Woodward, Joshua 946e542412 Make password hint configurable from settings/defaults.ini 7 years ago
bergquist 8a3a3cccc3 moves metric package to /infra 7 years ago
Marcus Efraimsson 8678620730
move UserToken and UserTokenService to models package 7 years ago
Marcus Efraimsson a60124a88c
change UserToken from interface to struct 7 years ago
Marcus Efraimsson 871c84d195
changes needed for api/middleware due to configuration settings 7 years ago
Marcus Efraimsson d53e64a32c
move auth token middleware/hooks to middleware package 7 years ago
Marcus Efraimsson cfd8eb5167
now /api/login/ping returns Response 7 years ago
Marcus Efraimsson dd5a8275f1
must return json response from /api/login/ping 7 years ago
bergquist 88ca54eba9 renames signout function 7 years ago
bergquist d6edaa1328 moves cookie https setting to [security] 7 years ago
bergquist 9153b6ed96 improves readability of loginping handler 7 years ago
bergquist 4626f083bb store oauth login error messages in an encrypted cookie 7 years ago