Instagram Oauth - 允许用户选择使用哪个帐户登录?



我已经将我的React应用程序与Instagram Basic Display集成。我的用户能够成功地将他们的Instagram帐户链接到我的应用程序。

然而,对于拥有多个Instagram帐户的用户,我注意到在浏览Instagram的Oauth流时显示的授权窗口不包含切换帐户的功能。

他们有没有办法让用户通过Instagram Oauth流在账户之间切换,并选择他们想链接到我的应用程序的账户?

如果将force_authentication=1添加到登录oAauth URL,则会强制用户输入凭据。

https://api.instagram.com/oauth/authorize?force_authentication=1&client_id=${IG_APP_ID}&redirect_uri=${IG_REG_REDIRECT_URL}&scope=${IG_REG_SCOPE}&state=1&response_type=code

我不相信这个答案,我在这里的另一个问题中发现了它:https://stackoverflow.com/a/71787472

最新更新