Hidetake Iwata
0c160f9db2
Refactor integration-test ( #1242 )
...
* Refactor integration-test
* Refactor
2025-01-13 16:29:27 +09:00
Hidetake Iwata
8c7903b2db
Test PKCE by default (integration-test) ( #1241 )
2025-01-13 15:50:48 +09:00
Hidetake Iwata
6c9d198ef5
Add --token-cache-storage flag ( #1236 )
2025-01-12 14:55:46 +09:00
kalle (jag) and Hidetake Iwata
afb25f511c
Added key cache via OS keyring ( #973 )
...
* Added key cache via OS keyring
* Fix lint issue
* Disable keyring in integration tests
* Disable keyring in system test
---------
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2025-01-08 12:32:26 +09:00
Hidetake Iwata
5d657ed981
Extract service package (integration_test) ( #1170 )
...
* Extract service package (integration_test)
* Refactor
* make generate
* Rename
* Comment
* Refactor
2024-11-08 10:20:20 +09:00
Hidetake Iwata and lnx01
10412effa2
Run go fmt ( #866 )
...
* Run go fmt
* Generated by GitHub Actions (go / generate)
https://github.com/int128/kubelogin/actions/runs/4971610724
---------
Co-authored-by: update-generated-files-action <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-14 18:21:55 +09:00
Hidetake Iwata
5ba7f551cf
Refactor tests ( #740 )
...
* refactor: use t.Setenv()
* refactor: use t.TempDir()
* refactor: use t.Cleanup()
2022-07-16 22:08:55 +09:00
Hidetake Iwata
5a3227409c
Refactor: rename to infrastructure package ( #426 )
2020-11-21 07:56:52 +09:00
Eric Poitras and Hidetake Iwata
878847f937
feat(389): Prevent concurrent authentication using a lockfile. ( #397 )
...
* feat(389): Prevent concurrent authentication using a lockfile to protect the local port allocation.
* Fix test
* Refactor: inline values
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2020-10-25 14:32:53 +09:00
Hidetake Iwata
881786a820
Add integration test for HTTPS local server ( #383 )
2020-09-25 10:14:17 +09:00
Hidetake Iwata
5ab2f9e01e
Refactor: replace temporary dirs with t.TempDir() ( #382 )
2020-09-25 10:10:11 +09:00
Hidetake Iwata
58d170fa65
Add --open-url-after-authentication option ( #350 )
...
* Add --open-url-after-authentication option
* Add integration test for --open-url-after-authentication
2020-08-01 10:38:33 +09:00
Hidetake Iwata
e152e95a9f
Refactor: add integration test of PKCE ( #293 )
...
* Refactor: add integration test of PKCE
* Refactor: fix name to pkce/Params.IsZero()
2020-05-16 14:29:42 +09:00
Hidetake Iwata
bf8eefd045
Refactor: reduce test cases of integration test ( #292 )
2020-05-14 16:49:39 +09:00
Hidetake Iwata
e88138c640
Refactor: fix token verifier does not respect clock ( #290 )
2020-05-13 15:45:14 +09:00
Hidetake Iwata
9ad520ba22
Refactor: inject stdout mock in integration test ( #289 )
2020-05-13 11:25:59 +09:00
Hidetake Iwata
c5621239e8
Refactor: remove unused mock and files
2020-05-12 14:17:19 +09:00
Hidetake Iwata
582ca48092
Refactor: replace newCredentialPluginWriterMock
2020-05-12 14:17:18 +09:00
Hidetake Iwata
da32d2184d
Refactor: remove Server.NewTokenResponse() ( #286 )
2020-05-11 20:41:46 +09:00
Hidetake Iwata
3a9768d6de
Refactor: extract httpdriver package ( #285 )
2020-05-11 12:06:11 +09:00
Hidetake Iwata
16d6fa2fbb
Refactor: replace idp mock with oidcserver package ( #284 )
2020-05-11 11:51:21 +09:00
Hidetake Iwata
d5c738697f
Refactor: tidy up
2020-04-10 20:32:22 +09:00
Hidetake Iwata
777a60c96c
Refactor: rename package
2020-04-10 17:15:02 +09:00
Hidetake Iwata
6f6e0723f1
Refactor: extract integration_test.authCodeFlowConfig
2020-04-10 16:32:02 +09:00
Hidetake Iwata
59b5f1bd89
Add --oidc-redirect-url-hostname flag ( #269 )
2020-04-08 15:25:19 +09:00
Matthew M. Boedicker and Hidetake Iwata
123d7c8124
Add --oidc-extra-url-params argument ( #255 )
...
* Add --oidc-extra-url-params argument
This accepts a comma-separated list of key-value pairs that will be
added to get token requests as query string parameters.
Closes #254 .
* Refactor
- move code setting the extra params to the authorization code flow specific functions (it is not needed in ROPC flow)
- add unit tests
- rename flag to --oidc-auth-request-extra-params
- add description to README.md
* Add integration test for --oidc-auth-request-extra-params
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2020-03-25 11:52:53 +09:00
Hidetake Iwata
aac8780caf
Refactor: move to testing/logger
2020-02-21 22:39:27 +09:00
Hidetake Iwata
f89525b184
Refactor: extract domain/jwt and testing/jwt ( #241 )
...
* Refactor: extract domain/jwt and testing/jwt
* Refactor: remove jwt-go dep from product code
2020-02-21 22:33:08 +09:00
Hidetake Iwata
7ce98c7119
Add --certificate-authority-data option ( #233 )
2020-02-12 10:15:12 +09:00
Hidetake Iwata
9018cd65c5
Refactor: rename to integration_test ( #228 )
2020-02-07 20:58:13 +09:00