esbenp / esbenp/larapi

can't get acess token in LoginProxy

Open
#37 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
399
Forks
114
PR merge metrics
No merged PRs in 30d

Description

Hello,

it's not Larapi issue I used some part of your configuration to mount my backend API for SPA React UI, I focused on authentication (login logout) part, everything works fine for authentication (I get the token and user can refresh to get new one).

but when i try de Logout i get FatalThrowableError when trying to get user access token in LoginProxy

`Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function token() on null in file LoginProxy`

I did not make any changes to LoginProxy, maybe I missed something from my project setup, can you give me a track of the possible cause of this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.