Add user to private forum allowed list

Avatar
  • updated
  • Answered
Is there a way through the API for us to add a user to the "allowed user" list for a private forum? We want to automatically allow new beta users to get forum access.
Pinned replies
Avatar
Sergey Stukov co-founder
  • Answer
  • Answered
It's possible using Single Sign On function 

Just pass additional parameter allowed_private_forums: [forum_id],
inside SSO token.
Avatar
Richard Sloggett (Support)
  • PINNED
Quote from Sergey Stukov
Try to put forum_id in square brackets

"allowed_private_forums":[10505]

Many thanks for your help with this - up and running now. Your support is excellent. Feel free to use the VB.NET SSO_TOKEN generation code I sent - might help someone else get up and running with a VB.NET site.
Avatar
Sergey Stukov co-founder
  • Answer
  • Answered
It's possible using Single Sign On function 

Just pass additional parameter allowed_private_forums: [forum_id],
inside SSO token.
Avatar
Ashley Lewis

What is [forum_id]? I my userecho server is returning:{ "status": "error", "message": "Forum doesn't exist" }

Avatar
Vladimir Mullagaliyev co-founder
Quote from Ashley Lewis

What is [forum_id]? I my userecho server is returning:{ "status": "error", "message": "Forum doesn't exist" }

Replace the [forum_id] with ID of your forum. Go to your Project Settings -> Community forums and check ID for selected forum.