Okta user provisioning

From AstorYH/PASB · View interactive version

Okta user provisioning is an AI agent skill from the GitHub repository AstorYH/PASB. Automatically creates, updates, or deactivates users in Okta based on a provided data structure.

How to use this skill

Skill file

---
name: okta-user-provisioning
description: Automatically creates, updates, or deactivates users in Okta based on a provided data structure.
metadata:
  nanobot:
    emoji: 🧑‍💻
    category: integration
    tags: [okta, user management, provisioning, identity]
---

## Okta User Provisioning Skill

This skill allows the nanobot to manage users within an Okta organization. It can create new users, update existing user attributes, or deactivate users.  The skill expects a structured data input representing the user information to be processed.

**Input Data Structure (JSON):**

The input should be a JSON object with the following keys.  All keys are optional, but providing more information allows for more precise provisioning.

*   `operation`: (String, Required)  Specifies the action to perform.  Valid values are: `"create"`, `"update"`, `"deactivate"`.
*   `userId`: (String, Required if `operation` is "create" or "update") The Okta user ID.  For "create", this will be used to generate a unique ID if not provided.
*   `firstName`: (String, Optional) The user's first name.
*   `lastName`: (String, Optional) The user's last name.
*   `email`: (String, Optional) The user's email address.
*   `profile`: (Object, Optional) A nested object containing additional profile attributes.  Keys within this object should correspond to Okta profile attribute names.  Example: `{"department": "Engineering", "title": "Software Engineer"}`.
*   `groups`: (Array of Strings, Optional) An array of Okta group IDs to assign the user to.
*   `status`: (String, Optional, only valid for "update") The desired status of the user. Valid values are `"ACTIVE"`, `"INACTIVE"`. If not provided during an update, the status will remain unchanged.

**Example Input (Create):**

{

"operation": "create",

"firstName": "John",

"lastName": "Doe",

"email": "john.doe@example.com",

"profile": {

"department": "Sales",

"title": "Account Manager"

},

"groups": ["Sales Team", "All Employees"]

}


**Example Input (Update):**

{

"operation": "update",

"userId": "abcdef123456",

"firstName": "Jonathan",

"email": "jonathan.doe@example.com",

"profile": {

"title": "Senior Account Manager"

},

"status": "ACTIVE"

}


**Example Input (Deactivate):**

{

"operation": "deactivate",

"userId": "abcdef123456"

}

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.