Twingate provisioning flow fails with the following error visible in the Okta dashboard:
Automatic provisioning of user <username> to app Twingate failed: Error while verifying if user <username> exists: Unauthorized. Errors reported by remote server: Invalid token
- Twingate
- Provisioning
- Error
This error is generated because the API Token used to create the API connection is invalid.
- Go to Okta Admin Console and navigate to Applications > Applications > Twingate > Provisioning > Integration > Edit.
- In the API Token field, copy the SCIM Token from the Twingate Admin Console.
- Click Test API Credentials, verify the connection was successful, and then click Save.
- Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
- After identifying the failed task for the user that should be retried, click on Retry Selected.
