with Ory and Kordiam?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ory: {
type: "app",
app: "ory",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.console.ory.sh/projects`,
headers: {
Authorization: `Bearer ${this.ory.$auth.workspace_api_key}`,
"Content-Type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kordiam: {
type: "app",
app: "kordiam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://kordiam.app/api/v1_0_0/users/all`,
headers: {
Authorization: `Bearer ${this.kordiam.$auth.oauth_access_token}`,
},
})
},
})