
DorD.65129 (Customer) asked a question.
Hi,
I just start integrating our apps to OKTA.
We have a NodeJS app that uses OKTA SDK (https://developer.okta.com/okta-sdk-nodejs/jsdocs/) to perform actions on our OKTA applications and users.
Also, we are using OKTA Workflow to listen to application users' events to perform some actions.
The problem is that the "Federation Broker Mode" must be enabled when we create a new OKTA application connector, but when we use OKTA SDK in our NodeJS app, specific "assignUserToApplication" method, we get an error: [OktaApiError: Okta HTTP 400 E0000001 Api validation failed: assignment. It is not possible to assign users to an AppInstance that has Federation Broker Mode enabled].
Are we doing something wrong? Is there a solution to this?

Hello @DorD.65129 (Customer) Thank you for reacting out to our Community!
This might be a known limitation for Federation Broker Mode, please see the current limitations for it:
https://help.okta.com/en-us/Content/Topics/Apps/apps-fbm-known-issues.htm
Hope this helps and if this answered your question, please mark this as Best Answer!