Use API to choose which private forum an SSO user can view?
I saw in the API reference that we can choose to have an SSO user be allowed to view a private forum: https://mercyhome.userecho.com/dev/api/forums/create
If we have multiple private forums, can we use the API or SSO to choose which forums the user has access to?
For example, when when create a new SSO user "John", can we have him access forum A, but user "Jane" accesses forum B?
Yes, you can.
You must create private forums (manual from administrative interface or through API).
In the SSO package for your user (https://mercyhome.userecho.com/settings/features/sso/) pass additional parameter:
allowed_private_forums: [forum_id, forum_id, forum_id]