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
..
adfs.go bugfix: OIDCConfig based providers are not respecting flags and configs (#2299) 2023-11-25 11:32:31 +00:00
adfs_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
auth_test.go
azure.go chore(deps): drop golang.org/x/exp/{slices,maps} (#3065) 2025-05-26 12:20:49 +02:00
azure_test.go chore: Updated go-jwt to v5 2024-03-04 01:42:00 +01:00
bitbucket.go
bitbucket_test.go
digitalocean.go
digitalocean_test.go
facebook.go
facebook_test.go
gitea_test.go
github.go feat: support for multiple github orgs (#3072) 2025-05-29 18:11:07 +02:00
github_test.go feat: support for multiple github orgs (#3072) 2025-05-29 18:11:07 +02:00
gitlab.go upgrading to go 1.21 (#2235) 2024-01-22 13:39:53 +00:00
gitlab_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
google.go chore(deps): update all golang dependencies 2024-09-23 16:38:40 +02:00
google_test.go chore(lint): fix staticcheck issues (#3061) 2025-05-26 12:29:34 +02:00
internal_util.go
internal_util_test.go
keycloak.go upgrading to go 1.21 (#2235) 2024-01-22 13:39:53 +00:00
keycloak_oidc.go fix: role extraction from access token in keycloak oidc (#1916) 2025-04-28 10:23:19 +01:00
keycloak_oidc_test.go fix: role extraction from access token in keycloak oidc (#1916) 2025-04-28 10:23:19 +01:00
keycloak_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
linkedin.go
linkedin_test.go
logingov.go Fix linting after updating golangci-lint to 1.62.2 2024-12-31 13:14:39 +01:00
logingov_test.go chore: Updated go-jwt to v5 2024-03-04 01:42:00 +01:00
ms_entra_id.go fix(entra-id): use federated credentials for refresh token (#3031) 2025-04-25 09:59:09 +02:00
ms_entra_id_test.go chore(lint): fix staticcheck issues (#3061) 2025-05-26 12:29:34 +02:00
nextcloud.go upgrading to go 1.21 (#2235) 2024-01-22 13:39:53 +00:00
nextcloud_test.go
oidc.go feat: Replace default Go user-agent with oauth2-proxy and version (#2570) 2024-07-14 21:09:17 +01:00
oidc_test.go
provider_data.go feat: allow to set non-default authorization request response mode (#3001) 2025-03-31 10:04:19 +02:00
provider_data_test.go chore: Updated go-jwt to v5 2024-03-04 01:42:00 +01:00
provider_default.go feat: allow to set non-default authorization request response mode (#3001) 2025-03-31 10:04:19 +02:00
provider_default_test.go feat: allow to set non-default authorization request response mode (#3001) 2025-03-31 10:04:19 +02:00
providers.go feat: allow to set non-default authorization request response mode (#3001) 2025-03-31 10:04:19 +02:00
providers_suite_test.go chore(deps): Updated to ginkgo v2 (#2459) 2024-07-18 22:41:02 +02:00
providers_test.go feature: static public keys file support for oidc provider 2025-01-11 12:09:23 +00:00
util.go
util_test.go