Ryan Richard
dd3c1ac3cf
Merge branch 'main' into github_identity_provider
2024-06-03 16:40:36 -07:00
Ryan Richard
16c8911dfd
Merge pull request #1979 from vmware-tanzu/update_codegen_kube_versions
...
update kube versions for codegen
2024-06-03 16:39:52 -07:00
Ryan Richard
8ea9ba8860
ran go generate to update mocks
2024-06-03 14:48:06 -07:00
Ryan Richard
1d8decfdad
ran update.sh to update generated code
2024-06-03 14:30:53 -07:00
Ryan Richard
57431ce6c2
update kube versions for codegen
2024-06-03 14:20:00 -07:00
Ryan Richard
01723e0d12
Merge branch 'main' into github_identity_provider
2024-06-03 13:21:32 -07:00
Joshua Casey
8733a24ebf
Merge pull request #1976 from vmware-tanzu/resolve_github_todos
...
Resolve remaining GitHub todos
2024-06-03 13:54:13 -05:00
Joshua Casey
58b4ecc0aa
user sees error msg when GitHub login is denied due to allowed orgs
...
Also renamed an interface function from GetName to GetResourceName.
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-06-03 10:56:28 -07:00
Joshua Casey
b43b8439c4
Merge pull request #1977 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2024-06-03 12:06:07 -05:00
Pinny
f2747ef4e7
Bump dependencies
2024-06-03 13:03:02 +00:00
Ryan Richard
e3d8c71f97
sleep longer before generating any GitHib OTP codes
2024-05-31 12:03:36 -07:00
Ryan Richard
0ace5cf477
update github proposal doc to reflect current status
2024-05-31 09:59:50 -07:00
Ryan Richard
6364ac9ac7
change status condition type name to be "ClientCredentialsSecretValid"
...
For both GitHubIdentityProvider and OIDCIdentityProvider to make them
consistent with each other.
2024-05-31 09:59:30 -07:00
Ryan Richard
e89daadfcf
dump debugging info when a browser-based test fails
2024-05-31 09:09:24 -07:00
Joshua Casey
eee737186f
Clean up how lastTransitionTime and observedGeneration are checked in github_upstream_watcher_test
2024-05-30 21:34:29 -05:00
Ryan Richard
c5b54ec27e
resolve a todo in supervisor_discovery_test.go
2024-05-30 14:48:35 -07:00
Joshua Casey
2ad43789cc
Merge pull request #1975 from vmware-tanzu/another_github_doc_change
...
mention GitHubIdentityProvider in some more website documentation
2024-05-30 16:32:55 -05:00
Ryan Richard
38a90fa01e
mention GitHubIdentityProvider in some more website documentation
2024-05-30 14:21:33 -07:00
Joshua Casey
037fa65c63
Merge pull request #1963 from vmware-tanzu/github-issues-downstream-tokens
...
Issue and refresh downstream ID tokens derived from a GitHub IDP
2024-05-30 16:16:37 -05:00
Joshua Casey
de68594fd6
Merge pull request #1974 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2024-05-30 12:03:49 -05:00
Ryan Richard
6327f51f5b
repeat same github int tests using OAuth client in supervisor_login_test
2024-05-30 09:58:10 -07:00
Joshua Casey
781ee82b9d
Merge branch 'main' into pinny/bump-deps
2024-05-30 11:15:35 -05:00
Ryan Richard
34d02466d9
Merge pull request #1973 from vmware-tanzu/jtc/use-dependabot-for-major-versions-only
...
Use dependabot to automate major-only dependency bumps
2024-05-30 07:44:33 -07:00
Pinny
8dd34d9ea9
Bump dependencies
2024-05-30 13:01:05 +00:00
Joshua Casey
3c0bad9ea2
Use dependabot to automate major-only dependency bumps
2024-05-29 17:37:25 -05:00
Ryan Richard
2bf11ffde1
update error message assertion for github in supervisor_login_test.go
2024-05-29 09:45:43 -07:00
Ryan Richard
bb9cb739c6
more unit tests for github in token_handler_test.go
2024-05-29 08:55:41 -07:00
Joshua Casey
cc8d637715
Fix lint
2024-05-28 20:33:55 -05:00
Joshua Casey
eafc9ad78c
Merge pull request #1970 from vmware-tanzu/use_latest_dir_for_api_docs
...
use "latest" dir for API docs in doc URLs on the web site
2024-05-28 18:10:22 -05:00
Ryan Richard
c1719c8f1a
use "latest" dir for API docs in doc URLs on the web site
2024-05-28 15:59:40 -07:00
Joshua Casey
d3fb567fdb
Add callback_handler tests for GitHub+IdentityTransformations
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-05-28 15:59:52 -05:00
Joshua Casey
8b1e5aa320
Add callback_handler tests to confirm GitHub with downstream form_post and GitHub with an error case
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-05-28 15:17:04 -05:00
Joshua Casey
37e654faa0
bunch of renames
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2024-05-28 13:41:52 -05:00
Joshua Casey
7c73b5e3df
Merge pull request #1969 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2024-05-27 11:49:02 -05:00
Pinny
6a9661b374
Bump dependencies
2024-05-27 13:03:01 +00:00
Joshua Casey
6429164852
Merge pull request #1968 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2024-05-24 08:55:22 -05:00
Pinny
fa68cbbe4e
Bump dependencies
2024-05-24 13:02:57 +00:00
Ryan Richard
f323690049
refactor upstream refresh test helpers to be more specific to IDP type
2024-05-23 13:35:31 -07:00
Joshua Casey
02ffff01d5
fix lint
2024-05-23 12:32:18 -05:00
Joshua Casey
2cdeb85cd6
Merge pull request #1967 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2024-05-23 12:29:41 -05:00
Pinny
6ea7c48ae9
Bump dependencies
2024-05-23 13:01:01 +00:00
Joshua Casey
65682aa60d
Add sample unit test for GitHub in token_handler_test.go
2024-05-22 23:04:15 -05:00
Ryan Richard
bb1737daec
slow down github integration tests to avoid OTP reuse errors from github
2024-05-22 21:21:45 -05:00
Ryan Richard
fef494949f
implement upstream refresh for github
2024-05-22 21:21:45 -05:00
Ryan Richard
0a15d488c8
Merge callback_handler_github_test.go into callback_handler_test.go
...
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2024-05-22 21:21:45 -05:00
Ryan Richard
e69eb46911
Add github integration tests to supervisor_login_test.go
...
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2024-05-22 21:21:45 -05:00
Ryan Richard
8f8db3f542
Make github org comparison case-insensitive, but return original case
...
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com >
2024-05-22 21:21:45 -05:00
Ryan Richard
8923704f3c
Finish initial github login flow
...
Also:
- fix github teams query: fix bug and sort/unique the results
- add IDP display name to github downstream subject
- fix error types returned by LoginFromCallback
- add trace logs to github API results
- update e2e test
- implement placeholder version of refresh for github
2024-05-22 21:21:45 -05:00
Joshua Casey
ba2d122308
fix lint
2024-05-22 21:21:45 -05:00
Joshua Casey
938bea9910
upstreamgitub.go now uses githubclient to determine username and groups
2024-05-22 21:21:45 -05:00