Instagram的认证不再显示在输入符号只是提供instagram.com [英] Instagram Authentication no longer shows sign in inputs just serves instagram.com

查看:420
本文介绍了Instagram的认证不再显示在输入符号只是提供instagram.com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我知道的Instagram只是做了我想实现一些API更新。但第一步似乎不再工作:

<一个href=\"https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=$c$c\" rel=\"nofollow\">https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=$c$c

用于向您发送到登录页面这第一步,你输入你的用户名和密码,如果你在那么已经签约,将送你到一个页面确认您想要的应用程序打入您的个人资料。

今天,这不再这样做,尽管已经尝试过以清除本地缓存等等...

因此​​,这里对此事进行了回应卷曲。任何对此的灯将是惊人的,请注意,该客户端ID和秘密是正确的:

 卷曲-IL https://api.instagram.com/oauth/authorize/\\?client_id\\=3bfds87f9asd6f8sd76f44a6390b\\&redirect_uri\\=http://localhost:3000/auth/instagram\\&response_type\\=$c$c
HTTP / 1.1 302 FOUND
内容语言:zh
到期日:星期六2000 00:00:00 GMT 1月1日
有所不同:饼干,接受语言
位置: https://api.instagram.com/accounts/login/?force_classic_login=&next=/publicapi/oauth/authorize/%3Fclient_id%3D3b44dsf798asdf68d7s6f8d7a6390b%26redirect_uri%3Dhttp%3A//localhost%3A3000/auth/instagram%26response_type%3D$c$c
编译:无缓存
缓存控制:私人,无缓存,无店铺,必重新验证
日期:星期五,2015年6月12日18点45分33秒GMT
内容类型:text / html的;字符集= UTF-8
设置Cookie:csrftoken = 164f0e68ds9f6ds8f76s7df6382e07ee3;到期=周五,10军,2016年18点45分33秒格林尼治标准​​时间;最大年龄= 31449600;路径= /
连接:保持活动
内容长度:0HTTP / 1.1 302 FOUND
内容语言:zh
到期日:星期六,2000 00:00:00 GMT 01一月
有所不同:接受语言
地点:https://instagram.com/
编译:无缓存
缓存控制:私人,无缓存,无店铺,必重新验证
日期:星期五,2015年6月12日18点45分33秒GMT
内容类型:text / html的;字符集= UTF-8
连接:保持活动
内容长度:0HTTP / 1.1 200 OK
缓存控制:私人,无缓存,无店铺,必重新验证
内容语言:zh
内容长度:10411
内容类型:text / html的
日期:星期五,2015年6月12日18点45分34秒GMT
到期日:星期六,2000 00:00:00 GMT 01一月
编译:无缓存
设置Cookie:csrftoken = e6c925f87d6f87ds6f877a36c70ad9;到期=周五,10军,2016年十八点45分34秒格林尼治标准​​时间;最大年龄= 31449600;路径= /
设置Cookie:中期= VXsozafsdjhjkadf7TPuiiFJi;过期=星期四,07军,2035 GMT十八点45分34秒;最大年龄= 630720000;路径= /
有所不同:饼干,接受语言,接受编码
X框选项:SAMEORIGIN
连接:保持活动


解决方案

我很高兴,这是一个错误。现在一切正常。

So I know that instagram just did some API updates which I am trying to implement. But the very first step no longer seem to work:

https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code

This very first step used to send you to a sign in page where you input your username and password, if you were already signed in then it would send you to a page confirming that you want the app to tap into your profile.

Today this no longer does so, despite already having tried to clear local cache etc...

So here is a curl response on the matter. Any lights on this would be amazing and please note that the client ID and secret are correct:

curl -IL https://api.instagram.com/oauth/authorize/\?client_id\=3bfds87f9asd6f8sd76f44a6390b\&redirect_uri\=http://localhost:3000/auth/instagram\&response_type\=code
HTTP/1.1 302 FOUND
Content-Language: en
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Vary: Cookie, Accept-Language
Location: https://api.instagram.com/accounts/login/?force_classic_login=&next=/publicapi/oauth/authorize/%3Fclient_id%3D3b44dsf798asdf68d7s6f8d7a6390b%26redirect_uri%3Dhttp%3A//localhost%3A3000/auth/instagram%26response_type%3Dcode
Pragma: no-cache
Cache-Control: private, no-cache, no-store, must-revalidate
Date: Fri, 12 Jun 2015 18:45:33 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: csrftoken=164f0e68ds9f6ds8f76s7df6382e07ee3; expires=Fri, 10-Jun-2016 18:45:33 GMT; Max-Age=31449600; Path=/
Connection: keep-alive
Content-Length: 0

HTTP/1.1 302 FOUND
Content-Language: en
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Vary: Accept-Language
Location: https://instagram.com/
Pragma: no-cache
Cache-Control: private, no-cache, no-store, must-revalidate
Date: Fri, 12 Jun 2015 18:45:33 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Content-Length: 0

HTTP/1.1 200 OK
Cache-Control: private, no-cache, no-store, must-revalidate
Content-Language: en
Content-Length: 10411
Content-Type: text/html
Date: Fri, 12 Jun 2015 18:45:34 GMT
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Pragma: no-cache
Set-Cookie: csrftoken=e6c925f87d6f87ds6f877a36c70ad9; expires=Fri, 10-Jun-2016 18:45:34 GMT; Max-Age=31449600; Path=/
Set-Cookie: mid=VXsozafsdjhjkadf7TPuiiFJi; expires=Thu, 07-Jun-2035 18:45:34 GMT; Max-Age=630720000; Path=/
Vary: Cookie, Accept-Language, Accept-Encoding
X-Frame-Options: SAMEORIGIN
Connection: keep-alive

解决方案

I'm glad it was a bug. Everything is normal now.

这篇关于Instagram的认证不再显示在输入符号只是提供instagram.com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆