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

feat: Support OAuth access token #110

Closed
koba04 opened this issue Mar 13, 2020 · 0 comments · Fixed by #149
Closed

feat: Support OAuth access token #110

koba04 opened this issue Mar 13, 2020 · 0 comments · Fixed by #149
Labels
feature New feature pkg: rest-api-client @kintone/rest-api-client

Comments

@koba04
Copy link
Contributor

koba04 commented Mar 13, 2020

Motivation

Kintone has OAuth access token support, but rest-api-client doesn't support yet.
So we want rest-api-client to accept OAuth access token.

ref. #64

Overview

This PR make rest-api-token to be able to accept OAuth token at its constructor.

// This interface hasn't fixed so we might change the interface
const client = new KintoneRestAPIClient({
  baseUrl: "https://example.cybozu.com",
  auth: {
    oauthToken: process.env.KINTONE_OAUTH_TOKEN
  }
});
@koba04 koba04 added feature New feature pkg: rest-api-client @kintone/rest-api-client labels Mar 13, 2020
@zaki-yama zaki-yama mentioned this issue Mar 13, 2020
10 tasks
shisama pushed a commit that referenced this issue Jun 9, 2020
This is to avoid jank console output on low power devices
(2000ms was not enough)
shisama pushed a commit that referenced this issue Jun 23, 2020
This is to avoid jank console output on low power devices
(2000ms was not enough)
koba04 added a commit that referenced this issue Jul 13, 2020
This is to avoid jank console output on low power devices
(2000ms was not enough)
koba04 pushed a commit that referenced this issue Sep 18, 2020
chore(deps): update eslint and prettier (minor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature pkg: rest-api-client @kintone/rest-api-client
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant