Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

扫码登录中发现了一个bug? #86

Open
MaymayJay opened this issue Sep 17, 2020 · 0 comments
Open

扫码登录中发现了一个bug? #86

MaymayJay opened this issue Sep 17, 2020 · 0 comments

Comments

@MaymayJay
Copy link

MaymayJay commented Sep 17, 2020

  1. 使用以下方式扫码登录
    image

  2. 前端将code 通过post请求,提交到服务器换取用户信息。服务器使用了 $user = $app->oauth->use('app-01')->user(); 这个接口发现无法获取相关信息

  3. 打印日志发现当前端ajax请求时,如果request header中Content-Type为application/json,无法获取code 以及state参数;如下打印的是app['request']
    image

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant