Skip to content

feat: add get_app_user tool to retrieve user assignment for an app#26

Open
teads-sylvain wants to merge 1 commit intookta:mainfrom
teads:feat/get-app-user
Open

feat: add get_app_user tool to retrieve user assignment for an app#26
teads-sylvain wants to merge 1 commit intookta:mainfrom
teads:feat/get-app-user

Conversation

@teads-sylvain
Copy link
Copy Markdown

@teads-sylvain teads-sylvain commented Feb 24, 2026

Summary

Adds a new get_app_user tool that retrieves a specific user assignment for an application via the Okta API (GET /api/v1/apps/{appId}/users/{userId}).

This is useful to inspect the app user profile as seen by a specific application, which may contain different attributes and mappings than the universal Okta user profile.

Changes

  • Added get_app_user(app_id, user_id) tool in tools/applications/applications.py
  • Added get_app_user to the Applications table in README.md
  • Uses the existing Okta SDK method client.get_application_user()
  • Follows the same patterns as existing tools (error handling, logging, auth context)

Use case

When managing Okta with provisioning apps (Org2Org, SCIM, etc.), it's common to need to compare the app user profile with the Okta universal profile to verify that profile mappings are correctly applied and attributes are synchronized.

API Reference

…ation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant