1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-19 00:27:39 +02:00
Files
oauth2-proxy/providers
Daniel Mersch 7731437af4 feat: support for multiple github orgs (#3072)
* fix for github teams

* Update github.go

* added errorhandling

* Update github.md

* refactored GitHub provider

refactored hasOrg, hasOrgAndTeams and hasTeam into hasAccess to stay within function limit

* reverted Refactoring

* refactored github.go

- joined hasOrgAndTeamAccess into checkRestrictions

* refactored github.go

- reduced number of returns of function checkRestrictions to 4

* updated GitHub provider to accept legacy team ids

* GoFmt and golangci-lint

Formatted with GoFmt and followed recommendations of GoLint

* added Tests

added Tests for checkRestrictions.

* refactored in maintainer feedback

* Removed code, documentation and tests for legacy ids

* add changelog and update docs

---------

Signed-off-by: Jan Larwig <jan@larwig.com>
Co-authored-by: Jan Larwig <jan@larwig.com>
2025-05-29 18:11:07 +02:00
..
2024-03-04 01:42:00 +01:00
2022-10-21 11:57:51 +01:00
2024-01-22 13:39:53 +00:00
2023-10-24 16:37:57 +02:00
2024-01-22 13:39:53 +00:00
2022-10-21 11:57:51 +01:00
2024-03-04 01:42:00 +01:00
2024-01-22 13:39:53 +00:00
2022-03-13 10:08:33 +00:00
2020-12-21 16:51:52 -08:00