Граф коммитов

96 Коммитов

Автор SHA1 Сообщение Дата
Jared Murrell 069cff7185 added support for Google Workspaces
Co-Authored-By:
Dmitry Chepurovskiy <me@dm3ch.net>
2023-08-17 18:09:37 -04:00
primetheus 46eea47c89
Merge branch 'main' into ldap-tls 2023-08-17 12:55:46 -04:00
Jared Murrell 263eeb92d0 fix formatting issues 2023-08-17 12:46:00 -04:00
Rob Anderson a24740ed12
add EMU_SHORTCODE logic to other IPDs 2023-08-14 12:02:50 -07:00
Rob Anderson 2d88ade3e6
Merge branch 'main' into emu-shortcode 2023-08-14 13:07:05 -04:00
Rob Anderson 00552c30d3
fix formatting 2023-08-14 09:50:05 -07:00
Rob Anderson e775cf152d
If the variable EMU_SHORTCODE is set, then the
shortcode is appended to the username found in okta
2023-08-11 11:55:45 -07:00
Jared Murrell 59b01a194d
Merge branch 'main' into ldap-tls 2023-07-10 06:41:03 -04:00
Sean Roberts 467f498cfc Okta: strip domain, fix characters, docs 2023-03-31 22:09:22 -05:00
Dmitry Chepurovskiy 88af3874e7
Simplify self.LDAP_USE_SSL 2023-02-24 14:31:12 +02:00
Dmitry Chepurovskiy 39a5283a3d
Add TLS support to LDAP 2023-02-24 14:28:19 +02:00
Dmitry Chepurovskiy 9ced9cab9c
WIP 2023-02-24 13:31:03 +02:00
Robert Schuh 1eac5ab477 skip users without attribute 2022-06-07 12:51:57 -04:00
Robert Schuh 4f1fa98f55 fix user attribute 2022-06-07 12:51:57 -04:00
Robert Schuh aea75f598d Fix linting errors 2022-06-07 12:51:57 -04:00
Robert Schuh f2e11f2453 Fix linting errors 2022-06-07 12:51:57 -04:00
Robert Schuh 0614a6b3da Fix linting errors 2022-06-07 12:51:57 -04:00
Robert Schuh 2733f7a08f Update azuread.py 2022-06-07 12:51:57 -04:00
Robert Schuh 6a0bfcd1f3 Add support for extensionAttributes in AzureAD 2022-06-07 12:51:57 -04:00
Robert Schuh e733ef1b40 add env var REMOVE_ORG_MEMBERS_WITHOUT_TEAM 2022-05-25 21:30:14 -04:00
Kristián Leško 4e30854b4e Improve error handling in Okta module
The original error handling logic was
sometimes throwing errors due to log:
```
File "githubapp/okta.py", line 76, in get_group_members
    print(f"{user.links['self']['href']}: {e}")
TypeError: 'NoneType' object is not subscriptable
```
2022-05-03 08:11:11 -04:00
Kristián Leško c50432b493 Pass Okta OAuth scopes in correct format
The Okta SDK expects scopes to be a list.
2022-04-22 11:04:58 -04:00
Kristián Leško 4c57c646c7 Enable OAuth authentication method for Okta
In addition to API tokens, support the auth
using an OAuth 2.0 service app credentials.
2022-04-21 16:39:09 -04:00
Jared Murrell ba026d498e
remotes the verification bypass
this should have only existed in debugging
2022-02-02 13:36:27 -05:00
Sushant Pradhan 2cfbb643b0 Fix #109. Use explicit match condition 2022-01-27 09:50:55 -05:00
Chris McIntosh 728da028c4 Fixing logic around mail attribute 2022-01-05 14:21:36 -05:00
Chris McIntosh cd035ed6f9 Making the mail attribute optional if the user attribute is there 2022-01-05 14:21:36 -05:00
Chris McIntosh 380233eb1e fixing it for real this time 2022-01-05 14:20:43 -05:00
Chris McIntosh 6407056421 oops 2022-01-05 14:20:43 -05:00
Chris McIntosh ae9322cf5d forgot to import 2022-01-05 14:20:43 -05:00
Chris McIntosh a1291fd8ef Fixing bool issues 2022-01-05 14:20:43 -05:00
Chris McIntosh afdd2b4982 Fixing core formatting 2022-01-05 14:20:43 -05:00
Chris McIntosh 06ec8aa7b5 adding config to ignore ssl 2022-01-05 14:20:43 -05:00
Chris McIntosh e1fa6ebbdd Update githubapp/ldap.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2022-01-05 14:19:10 -05:00
Chris McIntosh e78b60b9d2 Update githubapp/ldap.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2022-01-05 14:19:10 -05:00
Chris McIntosh e0b5b3f567 Perhaps my black was out of date? 2022-01-05 14:19:10 -05:00
Chris McIntosh 3be87d1894 fixed my formatter to prefer black formatting 2022-01-05 14:19:10 -05:00
Chris McIntosh 1247c334ac escaping search filter 2022-01-05 14:19:10 -05:00
Rishabh 58a63fc68e Update okta.py 2021-11-22 09:31:28 -05:00
Chris McIntosh 981c387c8e adding some debugging but ultimately everything was fine 2021-10-15 15:13:01 -04:00
Chris McIntosh 7c0ce061cf
fixing formatting 2021-10-01 12:23:14 -05:00
Jared Murrell ef2b91ceab
Update __init__.py 2021-10-01 12:48:59 -04:00
Jared Murrell 5f78a37139
Update __init__.py 2021-10-01 12:46:59 -04:00
tombokombo 183e562be6
optional sync map only
Signed-off-by: tombokombo <tombo@sysart.tech>
2021-09-23 09:43:33 +02:00
Chris McIntosh 2df6736c4c
Update githubapp/__init__.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2021-05-25 08:29:39 -05:00
Chris McIntosh 535f94b031
Adding the compare attribute to let teams compare on email address 2021-05-21 15:26:49 -05:00
Kalina Buhleva 0c4dad2de5
Fix vatiable name 2021-04-27 08:48:01 +03:00
Kalina Buhleva fc9129b2d6
Update githubapp/__init__.py
Co-authored-by: Jared Murrell <primetheus@github.com>
2021-04-27 08:45:42 +03:00
Buhleva ad941d2eb8 Init new env variable in __init__ 2021-04-12 15:33:41 +03:00
Buhleva b75b01e9ba Reformat 2021-04-09 16:20:42 +03:00