with Catch-all Verifier and PingOne?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
catch_all_verifier: {
type: "app",
app: "catch_all_verifier",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.catchallverifier.com/api/v1/verify/single`,
headers: {
"authorization": `${this.catch_all_verifier.$auth.api_key}`,
"accept": `application/json`,
},
params: {
id: `${this.catch_all_verifier.$auth.single_verification_id}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pingone: {
type: "app",
app: "pingone",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://auth.pingone.com/${this.pingone.$auth.environment_id}/as/userinfo`,
headers: {
Authorization: `Bearer ${this.pingone.$auth.oauth_access_token}`,
},
})
},
})