pulsarctl icon indicating copy to clipboard operation
pulsarctl copied to clipboard

Support load oauth2 configs from auth params

Open jiangpengcheng opened this issue 1 year ago • 0 comments

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes #

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

Explain here the context, and why you're making that change. What is the problem you're trying to solve.

Modifications

Make context set command able to parse --auth-params directly if it's an oauth2 type params and set oauth2 related configs

Verifying this change

  • [x] Make sure that the change passes the CI checks.

(Please pick either of the following options)

  • This change added tests and can be verified as follows:

    • *Added unit tests for handling --auth-params in correct format and wrong format`

Documentation

Check the box below.

Need to update docs?

  • [ ] doc-required

    (If you need help on updating docs, create a doc issue)

  • [x] no-need-doc

    (Please explain why)

  • [ ] doc

    (If this PR contains doc changes)

jiangpengcheng avatar Jun 19 '24 04:06 jiangpengcheng