Can someone tell me why symfony is not reading the right PHPSESSID
but rather read some of it (example below), I'm using LEXIK for authentication and FOSRestBundle for API. Below is the security configuration (I think this is it). Which is causing the problems but I'm not sure,
I send the phpsessid
right
Security config
security:
providers:
in_memory:
memory: ~
user_provider:
id: app.user_provider
firewalls:
login:
pattern: ^/api/login
stateless: false
anonymous: true
api:
pattern: ^/api
provider: user_provider
stateless: true
guard:
authenticators:
- lexik_jwt_authentication.jwt_token_authenticator
access_control:
- { path: ^/api/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/api, roles: IS_AUTHENTICATED_FULLY }
Update 1
After losing the session my userprovider can not verify the user and so it gives this error