Skip to content

[FEATURE] Migrate Tellent HR to new Authentication strategy #18904

@vunguyenhung

Description

@vunguyenhung

Is your feature request related to a problem? Please describe.
Recently we have updated Tellent HR to have the following auth props:

  • API Key
  • Subdomain

Please update all components to use these props instead.

Please see the sample request here for reference:

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    kiwihr: {
      type: "app",
      app: "kiwihr",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{ users { items { id email } } }`,
    }
    return await axios($, {
      method: "post",
      url: `https://${this.kiwihr.$auth.subdomain}.kiwihr.com/api/graphql`,
      headers: {
        "x-api-key": `${this.kiwihr.$auth.api_key}`,
      },
      data,
    })
  },
})

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions