import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
okta: {
type: "app",
app: "okta",
}
},
async run({steps, $}) {
return await axios($, {
url: `{{custom_fields.url}}/api/v1/users`,
headers: {
"Authorization": `SSWS {{custom_fields.api_token}}`,
"Accept": `application/json; okta-version=1.0.0`,
},
params: {
Accept: ``,
},
})
},
})
Fetches the information of a specific user from the Okta system. See the documentation
Updates the profile of a specific user in the Okta system. See the documentation
Okta uses API keys for authentication. When you connect your Okta account, Pipedream securely stores the keys so you can easily authenticate to Okta APIs in both code and no-code steps.