Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth refactor #3

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

auth refactor #3

wants to merge 3 commits into from

Conversation

vuil
Copy link
Owner

@vuil vuil commented Aug 27, 2024

DNC

@vuil vuil force-pushed the auth4 branch 6 times, most recently from 4298d73 to 3bceba1 Compare August 29, 2024 04:20
…ints and implement Fallback algorithm to find service endpoints (vmware-tanzu#801)

* Tanzu CLI updates to account for Tanzu Platform Endpoint changes

Signed-off-by: Anuj Chaudhari <anuj.chaudhari@broadcom.com>

* Support endpoint updates in the tanzu config file based on the Central Configuration

Signed-off-by: Anuj Chaudhari <anuj.chaudhari@broadcom.com>

---------
Signed-off-by: Anuj Chaudhari <anuj.chaudhari@broadcom.com>
@vuil vuil force-pushed the auth4 branch 5 times, most recently from f048304 to 963d20c Compare August 29, 2024 19:01
A fair bit of code refactoring to support multiple IDPs,
include new support for UAA.

IDP used in CLI context creation is stored in the Context's
additionalMetadata map.

`context get-token` is updated to refreshed token based on the
IDP associated with said context

tanzu context create / tanzu login
are update to use UAA IDP unless the CLI recognizes the endpoint
as a public Tanzu Platform service endpoint or if CSP idp is explicitly
requested with the --force-csp hidden flag.
Co-Authored-by: Anuj Chaudhari <anuj.chaudhari@broadcom.com>
Signed-off-by: Vui Lam <vui.lam@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants