import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onelogin: {
type: "app",
app: "onelogin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.onelogin.$auth.subdomain}.onelogin.com/auth/rate_limit`,
headers: {
Authorization: `Bearer ${this.onelogin.$auth.oauth_access_token}`,
},
})
},
})
Emit new event when a directory sync event is triggered in OneLogin. See the documentation
Emit new event when a selected event occurs in OneLogin. See the documentation
Emit new event when a user is created in OneLogin. See the documentation
Revoke all active sessions for a specified user in OneLogin. See the documentation
Update an existing user's details in OneLogin. See the documentation
OneLogin uses OAuth authentication. When you connect your OneLogin account, Pipedream will open a popup window where you can sign into OneLogin and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any OneLogin API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://{{custom_fields.subdomain}}.onelogin.com/auth/oauth2/v2/token
accept: application/json
Authorization: client_id:{{custom_fields.client_id}}, client_secret:{{custom_fields.client_secret}}
grant_type=client_credentials