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

Refresh token in logs is disabled for Korifi #2294

Merged

Conversation

Birdrock
Copy link
Member

Does this PR modify CLI v6, CLI v7, or CLI v8?

CLI v8

Description of the Change

Disables refresh token call for the cf logs command when targeting Korifi (CF on K8s). We are not using UAA for AuthN/Z, so this call was resulting in errors.

Why Is This PR Valuable?

This will allow users of Korifi to use the cf logs command without causing an error on the refresh token call.

Why Should This Be In Core?

This change extends previous core functionality to allow targeting of Korifi (CF on K8s) clusters.

Applicable Issues

[Feature]: CF CLI user can skip oauth/token requests on Korifi

How Urgent Is The Change?

Medium/high urgency - we would like to pair it with a beta release. This functionality will be needed for standard user flows.

Other Relevant Parties

Korifi users.

- Configured with `Config.IsCFOnK8s`

Co-authored-by: Clint Yoshimura <clinty@vmware.com>
Copy link
Contributor

@jdgonzaleza jdgonzaleza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@a-b a-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@a-b a-b merged commit 6270f99 into cloudfoundry:v8 Aug 23, 2022
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.

None yet

4 participants