是否可以将自定义URL参数传递到oauth授权页面? Instagram的格式为'app_id = xxxxx',而不是client_id,如下所示:https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions
https://api.instagram.com/oauth/authorize
?app_id={instagram-app-id}
&redirect_uri={redirect-uri}
&scope={scope}
&response_type=code
&state={state} //Optional
这是我尝试添加参数:
instagram: {
scope: ['user_profile', 'user_media'],
requiredUrlParams: ['scope', 'app_id'],
display: 'popup',
redirectUri: 'https://localhost:8080/auth/instagram',
response_type: "code",
app_id: "444049xxxxxxxxx",
},
结果是URL参数中的app_id为空: https://www.instagram.com/oauth/authorize?response_type=code&redirect_uri=https://localhost:8080/auth/instagram&scope=user_profile+user_media&app_id=