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

Zhongjixiuxing patch 1 #43

Closed

Conversation

zhongjixiuxing
Copy link
Contributor

fix: 解决 login/oauth/access_token 请求错误问题
重现步骤代码


const authCfg: Config = {
  endpoint: '',
  clientId: '',
  clientSecret: '',
  certificate: '',
  orgName: '',
}

// 填写 你的 auth code
const code = 'your_code'

const sdk = new SDK(authCfg)
const tokens = await sdk.getAuthToken(code)

重现步骤代码

const authCfg: Config = {
  endpoint: '',
  clientId: '',
  clientSecret: '',
  certificate: '',
  orgName: '',
}

// 填写 你的 auth code
const code = 'your_code'

const sdk = new SDK(authCfg)
const tokens = await sdk.getAuthToken(code)
@casbin-bot
Copy link

@seriouszyx @ComradeProgrammer @Resulte please review

@hsluoyz
Copy link
Member

hsluoyz commented Nov 11, 2023

@zhongjixiuxing

  1. Use English everywhere
  2. Don't write a PR title like that
  3. Fix the errors

image

@hsluoyz hsluoyz closed this Nov 12, 2023
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.

3 participants