3.2. OAuth2 授权码模式认证
@Jouzeyu 是不是写错了,passport支持5种授权方式
1、Cookie授权令牌【CreateFreshApiToken中间件】
2、密码授权令牌【 'grant_type' => 'password'】
3、授权码获取令牌 【'response_type' => 'code'】
4、客户端凭证令牌 【'grant_type' => 'client_credentials'】
5、私人访问令牌 【$user->createToken('Users')】
你这地方应该是私人访问令牌模式认证,而非授权码模式认证。
对的,写错了