主要就是会一直进入下面这一行,也就是accessTokenObj.getAccessToken().equals("")

此时前端显示如下

AccessToken [accessToken=, expireIn=]; 

原因就是跨域了,seesion丢失。AccessToken是通过session获取到的。

我在QQ互联上注册的信息是这样的

  • 如果在配置文件中配置的回调地址为: http://xuewei.world/molihub/connection ,那么访问项目一定要使用 http://xuewei.world/molihub/ 不能使用 http://www.xuewei.world/molihub/
  • 如果
  • 在配置文件中配置的回调地址为: http://www.xuewei.world/molihub/connection ,那么访问项目一定要使用 http://www.xuewei.world/molihub/ 不能使用 http://xuewei.world/molihub/

    示例

    我在配置文件中定义的是redirect_URI = http://xuewei.world/molihub/connection
    所以不能用www的方式访问项目
    奇怪的是,当我用 http://xuewei.world/molihub/ 登录成功后
    再一次使用 http://www.xuewei.world/molihub/ 进行登录,竟然也成功了
    一定要先使用 http://xuewei.world/molihub/ 登录

    最后修改日期:2020-07-12

    作者

    留言

    You made a number of fine points there. I did a search on the theme and found mainly persons will go along with with your blog. Michell Arel Buxton

    You have brought up a very great points , appreciate it for the post. Wendye Josias Janek

    God Bless you, and continue to give you strength thru this and yes I agree with you I believe the little Angels give you signs they are watching and are with us. Thanks for the update I always look forward to hearing from you. my granddaughter lost a baby boy the same way. your family is always in my thoughts and prayers. with Love and Prayers Clovis Jon Poole

    As an elderly ex nurse I find these writings very moving and so wish I were young enough to help. Instead of being in isolation.my prayers are for you all especially all the 9medics in my family in the thick of it god bless you all Shaine Gunter Conrado

    Thanks intended for supplying this kind of well put together details. Cassie Evelyn Garbe

    I like the helpful information you provide in your articles. I will bookmark your blog and check again here frequently. I am quite certain I will learn a lot of new stuff right here! Good luck for the next! Robinette Rossy Macegan

    Duis arcu tortor, suscipit eget, imperdiet nec, imperdiet iaculis, ipsum. Sed aliquam ultrices mauris. Integer ante arcu, accumsan a, consectetuer eget, posuere ut, mauris. Larisa Calhoun Zola

    Everything is very open using a clear explanation from the challenges. It was truly informative. Your site is useful. Thanks a lot for sharing! Kylynn Carling Giulio

    I simply reviewed these blog sites really often as well as especially your item of content is constantly effective. A fantastic item of writing. You have actually revealed your concepts extremely well. It seems that you never miss out on any type of chance to disclose your ideas and it is an excellent thing for a writer. I have to mention that in all my pleasant minutes, I review fascinating blog sites like your own. I also write blog sites to reveal myself prior to the world. I am sure that you would love to read it and also let me learn about your thoughts. Nisse Darrell Aria

    The dial provides every one of the sharp whitened appears of your classic tooth enamel call, however it is truly coloured whitened. Sal Hartley Hazlett

    Aute mi ut suspendisse velit leo, vel risus ac. Amet dui dignissim fermentum malesuada auctor volutpat, vestibulum ipsum nulla. Allissa Mahmud Daberath

    Pretty! This was an incredibly wonderful article. Thank you for providing these details. Loralee Reg Nikolos

    It is really a nice and useful piece of information. I am glad that you simply shared this helpful info with us. Please keep us up to date like this. Thank you for sharing. Margo Lodovico Pantin

    Howdy! This article could not bbe written any better! Brigit Robers Keeton

    You ought to take part in a contest for one of the greatest websites on the web. I will highly recommend this site! Mara Shep Yorgos

    撰写回覆或留言

    发布留言必须填写的电子邮件地址不会公开。