with Okta and Microsoft Authenticator?
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
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: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_authenticator: {
type: "app",
app: "microsoft_authenticator",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://microsoft-authenticator.p.rapidapi.com/new_v2/`,
headers: {
"x-rapidapi-host": `microsoft-authenticator.p.rapidapi.com`,
"x-rapidapi-key": `${this.microsoft_authenticator.$auth.rapid_api_key}`,
},
})
},
})