我正在开发一个iOS应用程序(使用Swift),允许用户使用OAuth 2.0通过Instagram进行身份验证
在过去,一切都运行正常,因为我能够指定授权URL:
https://api.instagram.com/oauth/authorize/?client_id=xxx&redirect_uri=myiosapp://authorize&response_type=code
这里的关键点是redirect_uri myiosapp://authorize
我的问题是我无法再使用Instagram注册自定义网址方案,从而无法(?)通过我的应用程序专门处理重定向.如果我尝试在"有效重定向URI:"字段中添加这样的URI,我会收到以下错误:
You must enter an absolute URI that starts with http:// or https://
通过iOS本机应用程序专门处理Instagram身份验证的推荐方法是什么?