Martin Linkhorst
f03d4fe821
get-token: add --force-refresh flag to refresh ID token ( #879 )
2023-02-17 15:25:11 +09:00
Hidetake Iwata
adfbc48b24
Handle verification_url field in device flow ( #846 )
2022-12-24 19:10:21 +09:00
Hidetake Iwata
345465a5d3
Refactor test ( #847 )
2022-12-24 17:00:59 +09:00
Bastian
cda2eccaac
feat(authentication): add oauth2 device grant ( #837 )
2022-12-22 08:03:10 +09:00
Huang Huang
3602948645
Correct the --listen-address flag at stage 2 instructions ( #815 )
2022-10-16 14:26:54 +09:00
Hidetake Iwata
7152bccd21
refactor: migrate to Testify Mock ( #739 )
2022-07-16 16:55:51 +09:00
Hidetake Iwata
775841a72b
Remove deprecation of standalone mode ( #680 )
...
* Remove deprecation of standalone mode
* Update standalone-mode.md
2022-01-08 17:48:00 +09:00
Hidetake Iwata
237e53313d
Add flag to set custom browser command ( #622 )
...
* Add flag to set custom browser command
* Use --browser-command in system_test
* Add --browser-command= to setup message
2021-09-05 11:35:03 +09:00
Pedro Kiefer
a0cfde7198
refactor: add --oidc-use-pkce flag to force PKCE authorization flow ( #599 )
2021-08-04 06:38:26 +09:00
Hidetake Iwata
8e1a63b1a2
Change mutex scope to bind address port ( #430 )
2020-11-23 17:41:07 +09:00
Hidetake Iwata
ebf81debe1
Refactor: credentialplugin/get_token_test.go ( #429 )
...
* Refactor: extract const vars
* Refactor: extract ROPC test case
2020-11-22 20:01:45 +09:00
Hidetake Iwata
2f271b5870
Refactor: replace Input fields with oidc.Provider ( #428 )
2020-11-21 12:35:23 +09:00
Hidetake Iwata
b1d8e8f7e1
Refactor: rewrite with Go errors package ( #427 )
2020-11-21 12:10:42 +09:00
Hidetake Iwata
5a3227409c
Refactor: rename to infrastructure package ( #426 )
2020-11-21 07:56:52 +09:00
Hidetake Iwata
13d232ec21
Refactor: move oidc/client package ( #425 )
2020-11-21 07:27:34 +09:00
Hidetake Iwata
9bab6b2ccd
Refactor: extract tokencache and repository package ( #424 )
2020-11-20 07:01:16 +09:00
Hidetake Iwata
93fc548544
Refactor: extract kubeconfig package ( #423 )
...
* Refactor: extract kubeconfig package
* Refactor: use pass by value instead of reference
2020-11-18 10:36:42 +09:00
Hidetake Iwata
4773b67abd
Refactor: extract credentialplugin package ( #422 )
2020-11-18 10:00:39 +09:00
Hidetake Iwata
34762216c1
Refactor: extract tlsclientconfig.Config ( #409 )
2020-11-03 14:37:24 +09:00
Eric Poitras
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
b701a6f0aa
Refactor: aggregate test cases to lease and full options ( #406 )
2020-10-25 12:24:35 +09:00
Christoph Stäbler
d1b89e3d38
Add username in token cache key ( #404 )
2020-10-24 20:44:29 +09:00
Hidetake Iwata
64bfc5a465
Refactor authentication use-cases ( #395 )
2020-10-03 20:01:26 +09:00
Hidetake Iwata
5b2c82fc33
Refactor: replace DTO with oidc.TokenSet type ( #394 )
...
* Refactor: remove IDTokenClaims from TokenSet and decode in use-cases
* Refactor: use oidc.TokenSet for cache repository
2020-10-03 17:49:21 +09:00
Hidetake Iwata
1dee4a354e
Refactor: extract oidc.Provider ( #393 )
2020-10-03 08:35:35 +09:00
Hidetake Iwata
ebdfcfb1c8
Add --authentication-timeout-sec flag ( #387 )
2020-09-27 21:55:55 +09:00
TJ Miller
56169d1673
Add support for HTTPS redirect URI ( #381 )
...
* Add local server certificate option
* fix trailing slash from step 5 kubectl config set-credentials
* Add local https documentation
* Change flags to --local-server-cert and --local-server-key
* Add tests for flags
Co-authored-by: TJ Miller <millert@us.ibm.com >
Co-authored-by: Hidetake Iwata <int128@gmail.com >
2020-09-25 09:44:00 +09:00
Hidetake Iwata
c051d4e51a
Refactor: close channel in writer goroutine ( #375 )
2020-09-03 06:44:46 +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
c488888834
Refactor: pull up packages of domain ( #349 )
2020-07-30 09:37:10 +09:00
Hidetake Iwata
2cd741735e
Refactor: move templates.AuthCodeBrowserSuccessHTML to authcode ( #348 )
2020-07-30 09:29:49 +09:00
Hidetake Iwata
dbb684f10e
Refactor: use oidc.TokenSet in adaptors ( #347 )
2020-07-30 09:26:21 +09:00
Hidetake Iwata
a0e81e762c
Refactor: split authentication package into methods ( #346 )
2020-07-30 00:31:23 +09:00
Hidetake Iwata
c4ce1629e2
Refactor: regenerate with the latest mockgen ( #345 )
2020-07-30 00:04:56 +09:00
Hidetake Iwata
804a245fde
Refactor: rename to AuthCodeBrowser ( #342 )
2020-07-26 18:49:22 +09:00
Hidetake Iwata
923a4251f1
Change messages in standalone mode
2020-07-26 18:11:39 +09:00
Hidetake Iwata
1ae2008e28
Refactor: extract tlsOptions
2020-07-26 15:39:09 +09:00
Hidetake Iwata
4f96435e97
Show debug logs in authentication ( #325 )
2020-07-14 09:50:02 +09:00
Hidetake Iwata
77a6b91be8
Change authentication success page more descriptive ( #312 )
...
* Refactor: rename to authcode_browser.go
* Change authentication success page more descriptive
2020-06-23 15:00:58 +09:00
Hidetake Iwata
e88138c640
Refactor: fix token verifier does not respect clock ( #290 )
2020-05-13 15:45:14 +09:00
Hidetake Iwata
175275bf3d
Fix to send challenge only if provider supports PKCE ( #283 )
2020-05-08 22:19:32 +09:00
Hidetake Iwata
3fb074a4a8
Refactor: replace ClusterRoleBinding manifest with kubectl command ( #270 )
2020-04-08 20:38:35 +09:00
Hidetake Iwata
59b5f1bd89
Add --oidc-redirect-url-hostname flag ( #269 )
2020-04-08 15:25:19 +09:00
MOZGIII
7f4f72c9e0
Correct the command args at stage 2 instructions ( #261 )
2020-03-29 18:26:29 +09:00
Matthew M. Boedicker
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
0e2d402c40
Bump github.com/int128/oauth2cli to v1.9.0 ( #244 )
...
* Bump github.com/int128/oauth2cli to v1.9.0
* Generate state parameter and pass to oauth2cli
* Refactor: use base64.NoPadding
2020-02-22 15:26:54 +09:00
Hidetake Iwata
8b9e31b4c5
Refactor: error messages and testing/logger ( #243 )
...
* Refactor: respect -v option in testing/logger
* Refactor: revise error messages
2020-02-22 12:31:00 +09:00
Hidetake Iwata
d59e3355fe
Refactor: rename to adaptor/reader
2020-02-21 22:56:43 +09:00
Hidetake Iwata
9d2d0109d5
Refactor: extract adaptor/clock and testing/clock
2020-02-21 22:49:48 +09:00
Hidetake Iwata
aac8780caf
Refactor: move to testing/logger
2020-02-21 22:39:27 +09:00