disableAutoLogin
Supported for Facebook, Instagram via Facebook, Instagram direct OAuth, and TikTok where the provider supports it. Whentrue, we add provider-specific flags that try to prevent silent account reuse.
Use it when your users manage many accounts from the same browser. Without it, the OAuth popup can reuse the last logged-in platform account.
tiktokForceLogin
Supported only for TikTok and currently experimental. Whentrue, bundle.social routes the user through TikTok logout before starting authorization. Use it when TikTok keeps reusing the wrong active account even with disableAutoLogin.
forceBrowserOAuth
Supported for Instagram direct OAuth. Whentrue, Instagram asks the user to log in again instead of reusing the account already logged in on that browser. Use it when connecting several Instagram accounts one after another.
In the hosted flow the flag is applied only on iPhone and iPad; on other devices use disableAutoLogin, which has the same effect on Instagram. The custom connect endpoint applies it on every device.
Keeping the login in the browser on iPhone no longer needs this flag: every Instagram direct connection now stays in the browser on iOS instead of jumping into the Instagram app. On Android, the phone’s “Open supported links” setting for the Instagram app decides, and links opened inside other apps (Instagram, WhatsApp, Messenger) use their in-app browser, where the login can fail. If that happens, open the link in a regular browser or on a computer.
withBusinessScope
Supported for Facebook, Instagram via Facebook, and YouTube. Whentrue, OAuth requests broader access on top of the standard scope set:
- Facebook and Instagram via Facebook - the broader Meta scope set, including
business_management,ads_management, andads_readamong the permissions we request. - YouTube - the monetary analytics scope (
yt-analytics-monetary.readonly), which enables revenue/monetization data in raw analytics. See YouTube → Monetization.
false, OAuth uses the standard scope set.
For YouTube, the monetary scope is optional. If the user doesn’t grant it, the connection still succeeds - only monetization data is unavailable. Missing it never blocks a connection.
Instagram Connection Method
Supported fortype: "INSTAGRAM" in custom UI and hosted portal links.
Use Facebook Login when you need Facebook-backed Instagram features such as Page-connected account selection, comments, insights, location search, or Instagram audio search for Reels.
Use direct Instagram OAuth when you explicitly want the direct Instagram OAuth path and do not need Facebook-backed channel selection.