---
title: "Per-Employee OAuth 2.1 in Workday for Kiweely Bridge"
description: "Configure Workday's Register API Client task for per-employee OAuth 2.1 Authorization Code with PKCE so every Kiweely Bridge call runs as the asking worker."
url: https://kiweely.com/guides/configure-per-employee-oauth-workday-kiweely-bridge
---

# Configuring Per-Employee OAuth 2.1 Pass-Through in Workday for Kiweely Bridge

Step-by-step Workday configuration for per-employee OAuth 2.1 pass-through: creating an Authorization Code API client with PKCE, scoping Functional Areas, avoiding shared Integration System Users, and verifying domain security inheritance.

-   **Checked** against Workday on November 27
-   Applies to **Workday 2026R2 / 2027R1; Workday Security Administrators; Kiweely Bridge**
-   6 min read
-   Published November 27
-   By Kiweely

Every Kiweely Bridge call must run through an interactive OAuth 2.1 Authorization Code client created via Workday’s **`Register API Client`** task—never through **`Register API Client for Integrations`** or a shared Integration System User (ISU). Using the interactive grant forces every employee to authenticate on your tenant’s normal SSO screen and makes Workday enforce that individual worker’s exact domain, segment, and supervisory organization security on every request.

## Why Shared ISUs Fail Security Review for Employee AI Access

Traditional Workday integrations use an ISU because a scheduled job has no human sitting at a keyboard. Reusing that pattern for an AI assistant creates three immediate security defects:

1.  **Privilege escalation:** An ISU that can read headcount, time off, and pay for all employees turns a prompt-injection bug or loose filter into a tenant-wide data leak.
2.  **Broken audit trails:** Every query and business process step logs under `ISU_AI_Connector` instead of the real employee who triggered it, breaking SOX and SOC 2 attribution.
3.  **Duplicate authorization logic:** Your team has to rebuild Workday’s constrained security groups, supervisory org hierarchies, and territory rules outside Workday—and maintain them every time HR changes a security group.

Per-employee OAuth 2.1 pass-through eliminates all three. Workday remains the single policy decision point.

## How the Intersection of API Client Scopes and Worker Security Works

A common point of confusion during security reviews is the relationship between **Scope (Functional Areas)** on the Workday API client and **Domain Security Policies** on the employee.

Workday applies a strict logical **AND** (intersection):

-   **API client scope = ceiling.** If you omit `Payroll` from the API client’s Functional Areas, even a Payroll Administrator cannot query payroll data through Bridge.
-   **Worker security = actual access.** If you include `Staffing` on the API client so managers can check open requisitions and direct reports, an individual contributor still sees only what `Employee as Self` permits in your tenant.

| Scenario | API client has Functional Area? | Signed-in worker has Domain Get/Put? | Result in Workday |
| --- | --- | --- | --- |
| Employee checks own PTO | Yes (`Time Off and Leave`) | Yes (`Self-Service: Time Off`) | Allowed; returns own balance only |
| Employee asks for peer’s salary | Yes (`Compensation`) | No | Blocked by Workday (`HTTP 403` / empty WQL result) |
| Payroll Admin asks for payroll run | No (`Payroll` excluded from client) | Yes | Blocked by Workday OAuth scope check |
| Manager views direct reports | Yes (`Staffing`) | Yes (Constrained by Supervisory Org) | Allowed; scoped strictly to direct/subordinate orgs |

## Step-by-Step: Create the OAuth 2.1 API Client in Workday

Run these steps in Sandbox first, then repeat in Production once role testing is complete.

1.  Open Workday and search for **`Register API Client`** (do **not** select `Register API Client for Integrations`).
2.  Fill in the client fields using the exact settings below:

| Workday field | Recommended setting | Notes |
| --- | --- | --- |
| Client Name | `Kiweely Bridge - Sandbox` (or `Production`) | Appears on the employee’s consent and authorization management screen. |
| Client Grant Type | `Authorization Code Grant` | Mandatory for per-employee pass-through with PKCE. |
| Access Token Type | `Bearer` | Standard bearer format expected by Workday REST, WQL, and RaaS endpoints. |
| Redirection URI | Exact HTTPS callback URL from your Bridge admin console | Must match character-for-character, including trailing slash rules. |
| Include Workday Owned Scope | Unchecked unless explicitly required for a specific REST service | Keep scopes minimal and explicit. |
| Enforce 30-Minute Access Token Idle Timeout | Checked | Drops idle sessions quickly without disrupting active chat turns. |
| Disabled | Unchecked | Toggle this to kill all Bridge traffic instantly during an incident. |

1.  Under **Scope (Functional Areas)**, start with the minimum set needed for your pilot:
    -   `System` (required for WQL queries and executing web-service-enabled custom reports)
    -   `Staffing` (worker profile, manager chain, supervisory orgs)
    -   `Time Off and Leave` (leave balances, time-off requests)
    -   Add `Absence`, `Expenses`, `Recruiting`, or `Benefits` only when your rollout phase explicitly requires them.
2.  Click **OK** to generate the client.
3.  **Copy the client credential immediately** from the confirmation screen—Workday displays it once. If you close the screen before saving it in Bridge, you must run **`Edit API Client`** and generate a new credential.
4.  Run **`View API Clients`** and record the four tenant-specific URLs at the top of the report:
    -   **Workday REST API Endpoint**
    -   **Token Endpoint**
    -   **Authorization Endpoint**
    -   **Workday Web Services (SOAP) base URL** (for read-only SOAP calls if enabled)

## Verifying PKCE and Stateless Credential Handling

OAuth 2.1 mandates Proof Key for Code Exchange (PKCE) with `S256` code challenges on every Authorization Code flow, preventing authorization code interception in browser redirects and mobile deep links.

In Kiweely Bridge’s stateless architecture, the credential lifecycle works like this:

1.  The employee clicks **Connect** inside Claude, ChatGPT, or Gemini.
2.  Bridge initiates an OAuth 2.1 Authorization Code + PKCE flow to your Workday **Authorization Endpoint**.
3.  The employee signs in on Workday’s own sign-in screen (redirected to Okta, Entra ID, or Ping according to your `Manage Authentication Policies` rules). Bridge never sees the employee’s password or MFA code.
4.  Workday returns the authorization code to Bridge’s callback URI; Bridge exchanges it with the PKCE verifier at Workday’s **Token Endpoint**.
5.  Bridge immediately encrypts the resulting Workday access/refresh credential inside a locked session handle and hands that locked handle to the AI assistant.
6.  Bridge writes nothing to disk or a database. On each subsequent tool call, the assistant sends the locked handle back to Bridge, Bridge decrypts it in RAM only for that HTTP call to Workday, strips any admin-blocked fields from the response, and discards both the decrypted credential and the Workday response when the request finishes.

The AI assistant cannot open the locked handle and never sees the raw Workday credential.

## Configuring Authentication Policies for OAuth Flows

Check **`Manage Authentication Policies`** in Workday before inviting pilot users:

-   Confirm that your authentication policy rule covering the employee population allows **OAuth 2.0 / OpenID Connect** or browser-based SAML SSO for the API client’s redirect flow.
-   If your tenant restricts access by IP range, remember that the **browser sign-in** comes from the employee’s device IP, while the **back-channel code exchange and API calls** come from Kiweely Bridge’s egress IP.
-   If you enforce IP restrictions on API traffic, use a **Dedicated setup** (fixed IP from Kiweely) or **Self-hosted container** (your VPC NAT gateway IP) and add that exact CIDR to Workday’s **`Maintain IP Ranges`** task.

## Enabling Per-User WQL and RaaS Access Without Over-Permissioning

Even with a properly configured API client, two Workday-side security checks frequently surprise teams during pilot testing:

1.  **WQL execution domain:** To let employees run WQL-backed answers through Bridge, their security group needs **Get** access on the relevant Workday Query Language data source domains (for example, `Worker Data: Public Worker Reports` or `Self-Service: Time Off`). Workers without access to a data source simply get an empty/unauthorized response from Workday—Bridge does not elevate them.
2.  **Custom report sharing (RaaS):** A custom report enabled as a web service will fail with `HTTP 403` unless the asking worker is in a security group listed in the report’s **Share** tab **and** has access to the report’s underlying Data Source and all Report Fields (including calculated fields).

## Operational Checklist Before Production Cutover

-   API client created with **`Register API Client`** (`Authorization Code Grant`), never `Register API Client for Integrations`.
-   Functional Areas trimmed to pilot scope; `Payroll` and sensitive admin areas excluded unless explicitly approved.
-   **`Enforce 30-Minute Access Token Idle Timeout`** enabled.
-   Sandbox test verified in **`View Signon Activity`** showing the individual test worker’s username, not an ISU.
-   Revocation drill tested: revoking a test worker’s authorization in Workday immediately blocks their next prompt in Claude, ChatGPT, or Gemini.
-   Separate API client registered in Production (never reuse Sandbox credentials or endpoints).

Next, configure field-level redaction and run a structured role-boundary test in Sandbox using the [Kiweely Bridge AI admin agent guide](https://kiweely.com/guides/security-rules-role-testing-kiweely-bridge-admin-agent).

## Frequently asked questions

### Why should I use Register API Client instead of Register API Client for Integrations?

Register API Client for Integrations binds every call to a single Integration System User (ISU) and bypasses per-employee security. Register API Client with Authorization Code Grant authenticates each individual worker through Workday SSO so every call inherits that worker's own security groups and domains.

### Does Kiweely Bridge store employee Workday OAuth credentials in a database?

No. Kiweely Bridge keeps no table of employee credentials. Each worker's Workday credential is encrypted inside the locked session handle held by the AI assistant and decrypted only in memory for the duration of a single live call.

### If I select the Compensation Functional Area on the API client, can every employee see compensation data?

No. Functional Areas on an API client act as an upper ceiling, not a permission grant. Workday computes the intersection of the API client's Functional Areas and the signed-in worker's own domain security policies.

### Can an employee revoke their own Workday OAuth authorization without IT?

Yes. Any worker can open their Workday account settings and revoke active OAuth authorizations, or a Security Administrator can revoke authorizations for a worker or the entire API client immediately.

## Sources checked

-   [Workday Documentation: Register API Client](https://doc.workday.com/admin-guide/en-us/integrations/integration-security/register-api-client.html)
-   [Workday Documentation: OAuth 2.0 Authorization Code Grant](https://doc.workday.com/admin-guide/en-us/integrations/integration-security/oauth-2-0.html)
-   [Workday Developer Documentation: Authentication and Scopes](https://developer.workday.com/)

## Related guides

[All guides](https://kiweely.com/guides)

-   [### Setting Up Security Rules and Role-Boundary Testing with the Kiweely Bridge Admin Agent Use the Kiweely Bridge AI admin agent to tighten Workday security beyond tenant domains: block sensitive fields in memory, gate write actions behind browser approval cards, and test real Employee, Manager, and HR Partner boundaries in Sandbox before Production.](https://kiweely.com/guides/security-rules-role-testing-kiweely-bridge-admin-agent)
-   [### Kiweely Bridge Troubleshooting: OAuth Redirects, Okta/Entra Conditional Access, and Token Expiry Diagnostic runbook for Workday Security and IAM engineers troubleshooting Kiweely Bridge: resolving redirect\_uri mismatches, Okta/Entra Conditional Access device-compliance blocks, 30-minute idle expiry, and Workday RaaS/WQL 403 errors.](https://kiweely.com/guides/kiweely-bridge-troubleshooting-oauth-okta-entra-tokens)
-   [### Deploying a Stateless Kiweely Bridge Container Inside Your AWS, GCP, or Azure VPC Architecture and deployment guide for running the Enterprise self-hosted Kiweely Bridge container inside AWS ECS/EKS, Google Cloud Run/GKE, or Azure Container Apps/AKS with NAT egress IP allowlisting in Workday Maintain IP Ranges.](https://kiweely.com/guides/deploy-stateless-kiweely-bridge-aws-gcp-azure-vpc)
-   [### Connecting Claude, ChatGPT, or Gemini to Workday with Kiweely Bridge: Step-by-Step Setup Configure one Workday API client, set read-only and field rules with the Kiweely Bridge AI admin agent, test as real worker roles in Sandbox, and publish one connector URL to Claude, ChatGPT, and Gemini across desktop, web, and mobile.](https://kiweely.com/guides/connect-claude-chatgpt-gemini-workday-kiweely-bridge)

### More guides on Business processes and security

[All 56 guides](https://kiweely.com/guides#business-processes)

-   [Workday SOX, ISO 27001, and Segregation of Duties (SoD) Audit Playbook](https://kiweely.com/guides/workday-sox-iso-27001-segregation-of-duties-audit-playbook)
-   [Workday Business Process Notifications, Custom Alerts, and Questionnaire Security Segments](https://kiweely.com/guides/workday-bp-notifications-alerts-questionnaires-segmented-security)
-   [Workday Data Scrambling and Purge Privacy Data (GDPR): Tenant Rules and Blocking Validations](https://kiweely.com/guides/workday-data-scrambling-masking-purge-privacy-data-gdpr)
-   [Responding to Client AI Security Questionnaires as a Solo Workday Consultant or Boutique Firm](https://kiweely.com/guides/responding-client-ai-security-questionnaires-workday-consultants)
-   [Workday Accounting Journal Validation, Balancing, and Period Close Errors](https://kiweely.com/guides/workday-accounting-journal-validation-period-close-errors)
-   [Workday Procurement and Purchase Order Business Process Errors](https://kiweely.com/guides/workday-procurement-purchase-order-bp-errors)
-   [Workday Journeys and Workday Help: Onboarding and Case Routing Setup](https://kiweely.com/guides/workday-journeys-and-workday-help-onboarding-case-routing)
-   [Workday Security Drift: Terminated Admins and Unconstrained Group Creep](https://kiweely.com/guides/workday-security-drift-terminated-admins-unconstrained-groups)

### From the blog on Business processes and security

[All posts](https://kiweely.com/blog)

-   [The CISO Checklist for Connecting Claude, ChatGPT, or Gemini to Workday](https://kiweely.com/blog/ciso-security-review-checklist-connecting-llms-to-workday)
-   [Using Face ID and Fingerprint Unlock with Workday Single Sign-On for Deskless Workers](https://kiweely.com/blog/biometric-face-id-fingerprint-reauth-for-workday-mobile-apps)
-   [Preparing Workday Domain and Business Process Security Policies for a SOX Audit in Hours, Not Weeks](https://kiweely.com/blog/auditing-workday-segregation-of-duties-before-sox-review)

## Let Workday check the work.

Kiweely writes WQL and builds orchestrations in your own tenant, and Workday, not Kiweely, says whether they passed.

[Start for free](https://kiweely.com/download) [Book a demo](https://kiweely.com/demo)

## Get the next guide in your inbox.

One email a month with new guides and one Extend tip. Nothing else.
