ContainerImage.Pinniped/test/integration
Ryan Richard 34509e7430 Add more unit tests for dynamic clients and enhance token exchange
- Enhance the token exchange to check that the same client is used
  compared to the client used during the original authorization and
  token requests, and also check that the client has the token-exchange
  grant type allowed in its configuration.
- Reduce the minimum required bcrypt cost for OIDCClient secrets
  because 15 is too slow for real-life use, especially considering
  that every login and every refresh flow will require two client auths.
- In unit tests, use bcrypt hashes with a cost of 4, because bcrypt
  slows down by 13x when run with the race detector, and we run our
  tests with the race detector enabled, causing the tests to be
  unacceptably slow. The production code uses a higher minimum cost.
- Centralize all pre-computed bcrypt hashes used by unit tests to a
  single place. Also extract some other useful test helpers for
  unit tests related to OIDCClients.
- Add tons of unit tests for the token endpoint related to dynamic
  clients for authcode exchanges, token exchanges, and refreshes.
2022-07-20 13:55:56 -07:00
..
category_test.go Allow new warning messages about GCP plugin in TestGetPinnipedCategory 2022-06-08 10:22:15 -07:00
cli_test.go Extract browsertest.LoginToUpstreamLDAP() integration test helper 2022-05-09 15:43:36 -07:00
concierge_api_serving_certs_test.go test/integration: mark certain tests as disruptive 2021-08-26 15:11:47 -04:00
concierge_availability_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_client_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_credentialissuer_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
concierge_credentialrequest_test.go Merge branch 'main' into proposal_process 2022-02-17 10:07:37 -08:00
concierge_impersonation_proxy_test.go Introduce FIPS compatibility 2022-03-29 16:58:41 -07:00
concierge_kubecertagent_test.go Update TestKubeCertAgent to use new "v3" label value 2021-09-15 11:09:07 -07:00
concierge_kubectl_test.go test/integration: run parallel tests concurrently with serial tests 2021-08-26 12:59:52 -04:00
controllerinit_test.go Ensure concierge and supervisor gracefully exit 2021-08-30 20:29:52 -04:00
e2e_test.go Add e2e test for groups scope 2022-06-15 13:41:22 -07:00
formposthtml_test.go Enforce naming convention for browser based tests 2022-02-16 09:20:28 -05:00
kube_api_discovery_test.go Updates based on code review 2022-06-15 09:38:21 -07:00
kubeclient_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
ldap_client_test.go Don't do ldap group search when group scope not specified 2022-06-22 10:58:08 -07:00
leaderelection_test.go leader election test: approximate that followers have observed change 2021-08-26 12:59:52 -04:00
main_test.go Allow focused integration tests to be run from the GoLand UI again 2021-09-21 12:04:45 -07:00
rbac_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
securetls_fips_test.go Remove duplication in secure TLS tests 2022-04-01 10:56:38 -04:00
securetls_test.go Remove duplication in secure TLS tests 2022-04-01 10:56:38 -04:00
supervisor_discovery_test.go oidc: add code challenge supported methods 2022-04-19 01:21:39 +02:00
supervisor_healthz_test.go Rework or remove tests that rely on the http port 2022-03-10 19:43:12 -05:00
supervisor_login_test.go Add more unit tests for dynamic clients and enhance token exchange 2022-07-20 13:55:56 -07:00
supervisor_oidc_client_test.go Add more unit tests for dynamic clients and enhance token exchange 2022-07-20 13:55:56 -07:00
supervisor_oidcclientsecret_test.go Change group names 2022-06-13 14:28:05 -07:00
supervisor_secrets_test.go test/integration: run parallel tests concurrently with serial tests 2021-08-26 12:59:52 -04:00
supervisor_storage_garbage_collection_test.go test/integration: run parallel tests concurrently with serial tests 2021-08-26 12:59:52 -04:00
supervisor_storage_test.go Fix bad test package name 2021-06-22 11:23:19 -04:00
supervisor_upstream_test.go TestSupervisorUpstreamOIDCDiscovery: include AdditionalAuthorizeParametersValid condition 2021-10-25 10:21:51 -04:00
supervisor_warnings_test.go Add more unit tests for dynamic clients and enhance token exchange 2022-07-20 13:55:56 -07:00
whoami_test.go Tests use CertificatesV1 when available, otherwise use CertificatesV1beta1 2021-09-20 17:14:58 -07:00