import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qualiobee: {
type: "app",
app: "qualiobee",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.beehelp.fr/api/${this.qualiobee.$auth.organizationUuid}/learner`,
headers: {
Authorization: `Bearer ${this.qualiobee.$auth.oauth_access_token}`,
},
})
},
})
Qualiobee uses OAuth authentication. When you connect your Qualiobee account, Pipedream will open a popup window where you can sign into Qualiobee and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Qualiobee API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://app.beehelp.fr/api/auth/login
accept: application/json
username={{custom_fields.email}}
&
password={{custom_fields.password}}
POST
https://app.beehelp.fr/api/auth/login
username={{custom_fields.email}}
&
password={{custom_fields.password}}