Abe Clark
08/19/2025, 6:47 AMAsk Inkeep
08/19/2025, 6:47 AMAsk Inkeep
08/19/2025, 6:47 AMinvite_code parameter .
To approve the invited user and have them show up in your list, you need to use the approve function with the invite code . For example, using the Python SDK:
await permit.api.users.approve(
user_key="new_user",
email="<mailto:new-user@example.com|new-user@example.com>",
invite_code="ed32bc43e2194a80a5ef5e0339943b44"
)
Once approved, the user will be created and synced with the chosen role .
The preview mode in the Elements configuration won't actually create users - it's just for testing the UI . Make sure you're using the live embedded element in your application, not the preview.
To help troubleshoot this issue, could you please provide:
1. Which Workspace / Project / Env you are using
2. What calls you are performing (as SDK code or CURL)
3. Which PDP version you are running
4. Any relevant logs from your PDP
This will help our engineers investigate why the pending users aren't showing up as expected.Ask Inkeep
08/19/2025, 6:47 AMAlon Boshi
08/19/2025, 7:14 AMAbe Clark
08/19/2025, 7:16 AMAbe Clark
08/19/2025, 7:17 AMapprove method doesn't exist in the node sdk nor is there any documentation I can find in the API docs
https://permit-io.slack.com/archives/C02RTML2WNN/p1755587721765009?thread_ts=1755586781.430919&cid=C02RTML2WNNAbe Clark
08/19/2025, 7:21 AMAbe Clark
08/19/2025, 7:22 AMAlon Boshi
08/19/2025, 7:26 AMAlon Boshi
08/19/2025, 7:27 AMAbe Clark
08/19/2025, 7:27 AMThomas
08/19/2025, 2:24 PMAbe Clark
08/19/2025, 4:21 PMAbe Clark
08/19/2025, 4:22 PMThomas
08/19/2025, 4:37 PMThomas
08/19/2025, 4:38 PMAbe Clark
08/19/2025, 5:40 PMOr Weis
08/19/2025, 5:42 PMAbe Clark
08/19/2025, 5:45 PM