[英]Laravel Unauthenticated passport
My Postman request with dd() in Authenticate.php我的 Postman 请求在 Authenticate.php 中带有 dd()
I am not sure where the problem is when I have it withoud dd I just get unauthenticated which doesnt makes sence since it should not go to the route(login) but I cannot continue on it since I dont know where it goes after this so I cant even trace where this happens.我不确定问题出在哪里,当我没有 dd 时,我只是未经身份验证,这没有任何意义,因为它不应该 go 到路由(登录)但我不能继续它,因为我不知道它在这之后去哪里所以我甚至无法追踪发生这种情况的地方。
OAuthAcessTokens In DB数据库中的 OAuthAcessTokens
Authenticate.php Api.php验证.php Api.php
protected function redirectTo($request)
{
if (! $request->expectsJson()) {
return route('login');
}
}
can you attach the image of your Authenticate.php file?你能附上你的 Authenticate.php 文件的图像吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.