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

370 Коммитов

Автор SHA1 Сообщение Дата
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
Chris McIntosh a9eb629c69
Merge pull request #144 from github/primetheus/readme-pipfile
Update Pipfile requirements in the README
2023-01-27 13:23:05 -06:00
Jared Murrell b89a87075a
Merge branch 'main' into primetheus/readme-pipfile 2023-01-27 14:19:40 -05:00
Jared Murrell a162c3cc39
Merge pull request #137 from GolanTrevize10/main
Add the possibility of adding organizations to the syncmap file
2023-01-27 14:17:50 -05:00
Jared Murrell 8baea41b8c
Merge branch 'main' into main 2023-01-27 12:04:09 -05:00
Jared Murrell c9f05df11c
Update README.md 2022-10-11 10:37:06 -04:00
Chris McIntosh dc987a278b
Merge pull request #140 from johnnyhuy/patch-1
docs: README.md typos
2022-10-03 10:27:12 -05:00
Johnny Huynh 5d6308d8f1
Correct typo 2022-07-04 08:00:46 +10:00
GolanTrevize10 15f5b2e37b
Update README.md 2022-06-23 15:58:43 +02:00
Pablo Gomez 1c88ed4524 Add the possibility of adding organizations to the syncmap file 2022-06-15 17:15:15 +02:00
Robert Schuh fe6de4fe43 Update Dockerfile version
Co-authored-by: Jared Murrell <primetheus@github.com>
2022-06-07 12:51:57 -04:00
Robert Schuh 6e27c2b2b8 Update README.md 2022-06-07 12:51:57 -04: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 98be3351ca Add TEST_MODE to removal 2022-06-07 12:51:57 -04:00
Robert Schuh 32c6886014 add docs 2022-06-07 12:51:57 -04:00
Robert Schuh afe27b485d add docs 2022-06-07 12:51:57 -04:00
Robert Schuh 911ffa884f onPremisesExtensionAttributes docs 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 71e7baace6 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 7672748447 Update black.yml 2022-06-07 12:51:57 -04:00
Robert Schuh c59416c661 Change docker version to match pip file 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
dependabot[bot] 451ffc2767 Bump pyjwt from 2.3.0 to 2.4.0
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 21:32:50 -04:00
Robert Schuh 637b905e08 Update app.py 2022-05-25 21:30:14 -04:00
Robert Schuh 2e12e12993 Update README.md 2022-05-25 21:30:14 -04:00
Robert Schuh 00945fb997 Update .env.example.onelogin 2022-05-25 21:30:14 -04:00
Robert Schuh 2aeac0d18d Update .env.example.okta 2022-05-25 21:30:14 -04:00
Robert Schuh e839fb66d5 Update .env.example.ldap 2022-05-25 21:30:14 -04:00
Robert Schuh 3288f1e4c6 Update .env.example.aad 2022-05-25 21:30:14 -04:00
Robert Schuh e1d5b276c8 Update app.py 2022-05-25 21:30:14 -04:00
Robert Schuh 4486cf015e fix linting and disable removal for testing 2022-05-25 21:30:14 -04:00
Robert Schuh e733ef1b40 add env var REMOVE_ORG_MEMBERS_WITHOUT_TEAM 2022-05-25 21:30:14 -04:00
Robert Schuh 00d7a3b7b3 REMOVE_ORG_MEMBERS_WITHOUT_TEAM 2022-05-25 21:30:14 -04:00
Jared Murrell c4ac710607 update linter triggers 2022-05-20 09:00:52 -04:00
Jared Murrell bac09559f0 updated linter workflow 2022-05-20 09:00:52 -04:00
Jared Murrell 90a4b6f217 added Black linter 2022-05-20 09:00:52 -04:00
Kristián Leško 43ffabf414 Add support for ignoring GitHub users
In some cases, a user may be added to
teams even without directory account.
Add support to keep the user in team.
2022-05-05 09:03:34 -04:00
Robert Schuh 3932149f67 Update docker-publish.yml 2022-05-05 09:02:31 -04:00
Robert Schuh 37fa154924 Create docker-publish.yml 2022-05-05 09:02:31 -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 f45f307c5a Casefold both compared user attributes
Though user logins fetched from GitHub
were already casefolded, logins coming
from directory can still contain case.

Move the casefold to comparison method
to improve the chances of login match.
2022-05-03 08:10:23 -04:00
Kristián Leško e379801166 Expand logging for better debug experience
Log the important parts of the sync process
to make it easy to spot something is wrong.
2022-04-27 09:01:45 -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
Chris McIntosh effc1e4ce9
Merge pull request #111 from github/primetheus/webhook-verify
Remove webhook verification bypass
2022-02-02 12:51:01 -06:00