0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-03-13 04:53:16 +00:00
Commit graph

80 commits

Author SHA1 Message Date
Nick Satterly
73df96634d Update GitHub auth to work with v7 web UI 2019-06-05 20:10:44 +02:00
Nick Satterly
51d1580d9d
Check id token for preferred_username () 2019-06-03 10:31:50 +02:00
Nick Satterly
d14802c7cb
Allow auto-assign roles based on LDAP group () 2019-05-16 12:12:00 +02:00
Nick Satterly
dadb478eca
Add username lookup to check for login and email () 2019-04-28 22:45:03 +02:00
Nick Satterly
e3d1bd4dee
Make OIDC auth provider more robust () 2019-04-23 11:48:02 +02:00
Nick Satterly
2fd9cec55b
Add profile picture to JWT bearer token () 2019-04-11 20:41:55 +02:00
Nick Satterly
9bc52dc70e
Raise error if no login claim () 2019-04-10 19:28:55 +02:00
Nick Satterly
b2dd469645
Use login instead of email for user lookups () 2019-04-10 12:56:03 +02:00
Nick Satterly
260862a68c
Count users in groups and group lookup at login () 2019-04-08 01:39:38 +02:00
Nick Satterly
3f266f0c35
Allow customer lookup by SAML2 groups () 2019-04-04 00:10:46 +02:00
Nick Satterly
767e797a81
Improve OpenID error handling for invalid token responses () 2019-04-03 10:47:56 +02:00
Nick Satterly
90fdcef12f
Update config env vars for OpenID Connect () 2019-04-03 10:33:06 +02:00
Nick Satterly
2cd12c404a
Refactor basic ldap auth provider () 2019-04-02 11:59:43 +02:00
Nick Satterly
d27aa84e32
Add option to verify OpenID JWT id_token during login () 2019-04-02 09:45:18 +02:00
Nick Satterly
a248c5d5c1
Use find_by_id() for update me endpoints () 2019-04-02 07:58:31 +02:00
Nick Satterly
12e05a9dc8
Use OpenID as auth provider for Azure, GitLab, Google and Keycloak () 2019-04-01 10:36:31 +02:00
Nick Satterly
fbb3572b35
Add tests for auth providers () 2019-03-30 23:59:18 +01:00
Nick Satterly
c229e982cf
Add explicit runtime error if LDAP misconfigured () 2019-03-29 00:11:10 +01:00
Nick Satterly
61f1b49ac2
Add generic OpenID Connect auth strategy () 2019-03-08 07:50:13 +01:00
Nick Satterly
7efa29e326
Simplify and standardise use of requests in auth modules () 2019-03-01 16:44:02 +01:00
Nick Satterly
d44aba74c6
Add support for Microsoft Azure Active Directory OAuth2 () 2019-02-17 01:03:27 +01:00
Nick Satterly
3bc0ed9c22
Email not verified is 403 not 401 status () 2019-02-08 08:05:35 +01:00
Nick Satterly
f9f9cbe323
Use full path for namespaced GitLab groups () 2019-01-29 12:00:23 +01:00
Nick Satterly
a690d44bb9
Match user role if explicitly assigned () 2019-01-20 17:37:07 +01:00
Nick Satterly
d9b43c1ff0
Add error names to confirmation token errors () 2019-01-16 23:09:14 +01:00
Nick Satterly
4ab148c600
Send different email links based on hashbang or history mode () 2019-01-16 14:21:40 +01:00
Nick Satterly
c86c44ed2d
Return 403 if user not active () 2019-01-06 23:59:14 +01:00
Nick Satterly
eb72db1451
Fix update user attributes () 2019-01-06 23:34:23 +01:00
Nick Satterly
613e49810a
Update Keycloak auth to use discovery document URL () 2018-12-24 16:43:46 +01:00
Nick Satterly
137be850a2
Modify Google OAuth to not use Google+ API () 2018-12-22 22:49:13 +00:00
Shivam Khandelwal
ec2a82eda2 Added LDAP group support ()
* Added LDAP group support 

* Added support for variables in LDAP group search
2018-12-20 22:09:11 +00:00
Nick Satterly
37e4ac29bd Revert "Add CSRF token check on Bearer auth ()"
This reverts commit dfa99172dc.
2018-12-16 22:35:26 +01:00
Nick Satterly
dfa99172dc
Add CSRF token check on Bearer auth () 2018-12-14 00:05:20 +01:00
Nick Satterly
8c5fd1bb0c
Use ApiError exception consistently () 2018-11-23 20:13:33 +01:00
Nick Satterly
ce5e08944f
Add default GitHub URL for OAuth2 provider () 2018-11-23 11:12:10 +01:00
Nick Satterly
afa1fae225
Add default keycloak role of user () 2018-11-22 19:04:47 +01:00
Nick Satterly
4adf73437b
Split audit signals into admin, write and auth categories () 2018-11-10 22:46:27 +01:00
Nick Satterly
d2f32c770f
Add audit trail using blinker signals for all mutations () 2018-11-10 12:08:10 +01:00
Nick Satterly
55b7af9348
Use enum type for scopes () 2018-11-09 00:34:32 +01:00
Nick Satterly
cd0dfbe088
Type annotate plugins and webhooks ()
* Type annotate plugins (part 1)

* Type annotate webhooks (part 2)
2018-10-10 19:52:55 +02:00
Nick Satterly
a6a15d4d2d
Type annotate utils modules () 2018-10-10 10:20:17 +02:00
Nick Satterly
68ed6c3b71
Fix some auth utils type annotations () 2018-10-10 09:32:26 +02:00
Nick Satterly
a9d7f9dcde
Add type annotations to auth modules () 2018-10-10 00:53:58 +02:00
Nick Satterly
328c69e96d
Type annotate more models and minor refactoring () 2018-10-06 17:15:22 +02:00
Nick Satterly
bb06a81e61
Add support for X-API-Key header () 2018-10-04 23:37:38 +02:00
Nick Satterly
e6da2d9366
Email link paths should be relative () 2018-10-01 22:26:22 +02:00
Nick Satterly
a5e58908aa
Improve password reset flow () 2018-09-18 10:36:12 +02:00
Nick Satterly
977668e698
Flake8 fixes () 2018-09-16 00:58:17 +02:00
Nick Satterly
627b971a88
Replace double-quotes with single-quotes () 2018-09-16 00:20:53 +02:00
Nick Satterly
4af78277e8
Add pre-commit checks () 2018-09-16 00:07:50 +02:00