Modern identity platform
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
Auth0 provides all the necessary This API can be used to create, read, update,
and delete (CRUD) 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.
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}/userinfo`,
headers: {
Authorization: `Bearer ${this.auth0_management_api.$auth.oauth_access_token}`,
},
})
},
})
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}