API-first Identity Management, Authentication and Authorization. For Secure, Global, GDPR-compliant Apps
Go to siteimport { 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`,
},
})
},
})
Ory uses API keys for authentication. When you connect your Ory account, Pipedream securely stores the keys so you can easily authenticate to Ory APIs in both code and no-code steps.
To create a new Workspace API Key:
For more information, see Ory official documentation > API Keys