with SailPoint and Auth0 (Management API)?
The SailPoint API enables the automation of identity governance tasks, streamlining user access management, compliance controls, and security policies across an organization's IT environment. It's a powerful tool for managing identities, entitlements, and role-based access controls, ensuring that the right people have the right access at the right time. With Pipedream, you can use this API to create workflows that react to specific events, orchestrate multi-step processes, and integrate with other services to enhance identity operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sailpoint: {
type: "app",
app: "sailpoint",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://https://{{custom_fields.tenant}}.{{custom_fields.domain}}/v3/public-identities`,
headers: {
'Authorization': `Bearer ${this.sailpoint.$auth.oauth_access_token}`
}
})
},
})
The Auth0 Management API can be used to create, read, update,
and delete users, as well as to query for them. Additionally, you can
use the Management API to change user passwords, add and remove user roles,
link and unlink user accounts, and more. For more information, see the Auth0 Management API documentation here
// In order to use the example request below, please ensure that you have the scope
// `read:users` on your application.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
auth0_management_api: {
type: "app",
app: "auth0_management_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.auth0_management_api.$auth.domain}/api/v2/users`,
headers: {
Authorization: `Bearer ${this.auth0_management_api.$auth.oauth_access_token}`,
},
})
},
})