Open Source Identity and Access Management.
Emit new event when a new event is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
keycloak: {
type: "app",
app: "keycloak",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.keycloak.$auth.url}/admin/realms`,
headers: {
Authorization: `Bearer ${this.keycloak.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})