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
35e8ecab8d
Refactor: replace newCredentialPluginWriterMock ( #287 )
...
* Refactor: replace newCredentialPluginWriterMock
* Refactor: remove unused mock and files
2020-05-12 14:36:13 +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
175275bf3d
Fix to send challenge only if provider supports PKCE ( #283 )
2020-05-08 22:19:32 +09:00
Hidetake Iwata
4ffc914d0e
Bump the version
v1.19.0
2020-04-11 17:14:59 +09:00
Hidetake Iwata
fa008bef55
Add linux_arm and linux_arm64 binary to distribution ( #275 )
2020-04-11 17:14:00 +09:00
Hidetake Iwata
50047417ab
Delete snapcraft.yaml
2020-04-11 16:10:48 +09:00
Hidetake Iwata
4c0ebb0284
go mod tidy
2020-04-11 15:57:57 +09:00
dependabot-preview[bot]
c1173accd3
Build(deps): bump k8s.io/client-go from 0.18.0 to 0.18.1 ( #273 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.18.0...v0.18.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-11 15:57:17 +09:00
Hidetake Iwata
d4addcfc6e
Show Go version, GOOS and GOARCH in version command ( #272 )
2020-04-11 11:39:49 +09:00
Hidetake Iwata
695347e419
Merge pull request #271 from int128/refactor
...
Refactor integration test
2020-04-10 20:39:18 +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
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
Hidetake Iwata
70819843f0
go mod tidy
2020-04-07 10:30:13 +09:00
dependabot-preview[bot]
87c46a24ae
Build(deps): bump github.com/int128/oauth2cli from 1.10.0 to 1.11.0 ( #268 )
...
Bumps [github.com/int128/oauth2cli](https://github.com/int128/oauth2cli ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/int128/oauth2cli/releases )
- [Commits](https://github.com/int128/oauth2cli/compare/v1.10.0...v1.11.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-07 10:27:30 +09:00
Hidetake Iwata
ac504150b2
Bump k8s.io/apimachinery, k8s.io/client-go to 0.18.0 ( #267 )
2020-04-06 21:58:53 +09:00
Hidetake Iwata
caeb55f21d
Refactor: enable Go module cache ( #264 )
2020-04-02 20:08:52 +09:00
dependabot-preview[bot]
2ccda6099f
Build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7 ( #263 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-31 11:34:19 +09:00
MOZGIII
7f4f72c9e0
Correct the command args at stage 2 instructions ( #261 )
2020-03-29 18:26:29 +09:00
Hidetake Iwata
bfc1568057
Bump the version
v1.18.0
2020-03-26 10:36:06 +09:00
Hidetake Iwata
8758d55bb3
go mod tidy
2020-03-26 10:29:32 +09:00
dependabot-preview[bot]
d9be392f5a
Build(deps): bump k8s.io/client-go from 0.17.3 to 0.17.4 ( #252 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.3...v0.17.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 10:24:49 +09:00
dependabot-preview[bot]
af840a519c
Build(deps): bump github.com/golang/mock from 1.4.0 to 1.4.3 ( #253 )
...
Bumps [github.com/golang/mock](https://github.com/golang/mock ) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/golang/mock/releases )
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang/mock/compare/v1.4.0...v1.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-26 10:24:31 +09:00
Hidetake Iwata
285b3b15a8
Bump to Go 1.14.1 ( #258 )
2020-03-26 10:13:54 +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
e2a6b5d4e2
Update README.md
2020-03-06 10:26:06 +09:00
dependabot-preview[bot]
ce93c739f8
Build(deps): bump github.com/int128/oauth2cli from 1.9.0 to 1.10.0 ( #246 )
...
Bumps [github.com/int128/oauth2cli](https://github.com/int128/oauth2cli ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/int128/oauth2cli/releases )
- [Commits](https://github.com/int128/oauth2cli/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-28 22:08:48 +09:00
Hidetake Iwata
dc646c88f9
Bump version to v1.17.1
2020-02-22 16:04:29 +09:00
Hidetake Iwata
07e34d2222
Refactor ( #245 )
...
* Refactor: use Command.Context
* Refactor: do not infer command name for help/version
v1.17.1
2020-02-22 15:40:43 +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
db7c260f9d
go mod tidy
2020-02-22 12:41:11 +09:00
dependabot-preview[bot]
a95dc5c794
Build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6 ( #239 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...v0.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-22 12:39:26 +09:00
dependabot-preview[bot]
846804f611
Build(deps): bump k8s.io/client-go from 0.17.2 to 0.17.3 ( #236 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/kubernetes/client-go/releases )
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.17.2...v0.17.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-02-22 12:32:56 +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
bc99af6eab
Merge pull request #242 from int128/refactor
...
Refactor
2020-02-21 23:37:32 +09:00
Hidetake Iwata
e3bec130f4
Refactor: fix mock package path
2020-02-21 22:59:59 +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
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