with Frontegg and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Frontegg API provides a suite of functionalities centered around user management, authentication, and security. It simplifies the integration of these essential features into any application. On Pipedream, you can tap into Frontegg's capabilities to automate and enhance user experience by crafting workflows that respond to events, manage user data, and enforce security protocols.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
frontegg: {
type: "app",
app: "frontegg",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.frontegg.$auth.geo_location}.frontegg.com/identity/resources/configurations/v1`,
headers: {
Authorization: `Bearer ${this.frontegg.$auth.oauth_access_token}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS