> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Okta users

> Mount Okta users on your app.

Follow the [REST mounting guide](https://docs.bijection.com/integrations/native-rest.md#mount-and-bind).
Use `providerEndpoint` from `@bijectionhq/app-rest` to bind the collection,
and supply a scoped OAuth bearer token with `okta.users.read`, or an API token through sealed `Authorization` header auth with prefix `SSWS `.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
export const remote = providerEndpoint(
  "okta/users.observations",
  "https://example.okta.com",
  "/api/v1/users",
  auth,
  data,
);
```

Pass `remote` as `receivers.provider` and bind the mount under the same `data` label. As the mount's operator, call
`source.initialize` with this profile.

```ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{ profile: { mode: "provider", provider: "okta/users.observations", limit: 25 } }
```

Replace the example origin with the reviewed Okta organization. User ID keys the returned login, email, and status. The app extracts only the `after` value from a next Link on the users path and always sends it back to the configured origin and path. A terminal page ends the sweep. Users omitted by the API, including deletions and deprovisioned users excluded by the default listing, leave prior observations in place.

Up to 100 rows and 36 KiB per response. The bundled parser is required. Pages publish rows and their next
position together. Use [source health and controls](https://docs.bijection.com/integrations/native-rest.md#feed-contracts)
to review failures and recover the feed.

[Provider API reference](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/)

## Write users

Follow the [native write mount guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes). Use mode `okta.users.create-update` with `providerWriter`, endpoint `https://TENANT.okta.com` and pass the writer in `receivers.writers` under that mode. Use a sealed authorization credential limited to managing users in the tenant. Bind a protected label for user provisioning data. Create takes an Okta User object and pins `activate=false`. HTTP 200 must return a user ID with `STAGED` status. Update applies a partial User object via POST and requires HTTP 200 with the exact Okta user ID. Account activation, deactivation and permanent deletion use separate lifecycle actions outside this mode.

The writer records evidence under the mount's label. Commands take up to 24 KiB of JSON and carry no read cursor.

[Provider write API](https://developer.okta.com/docs/api/openapi/okta-management/management/tags/user)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.