CORS как-то сам починился...
Теперь проблема другая. Авторизоваться могу, bearer выдает, но сделать запрос не могу. Выходит ошибка 500 и направляет на /login.
Почему так?
The resource owner or authorization server denied the request. {"exception":"[object] (League\\OAuth2\\Server\\Exception\\OAuthServerException(code: 9): The resource owner or authorization server denied the request. at D:\\OSPanel\\domains\\trips.com.yy\\vendor\\league\\oauth2-server\\src\\Exception\\OAuthServerException.php:243)
Но я передаю bearer в заголовке, что делать?