I keep on getting this error: "Full authentication is required to access this resource. " I'd like to access to the default controller and access to my auth page.
Another thing I tried is putting a default form_login because Symfony required an authenticator listener if I remove the anonymous option from my auth firewall...but actually I don't want it I've read many questions, docs, tutos but I can't get over it. Thanks in advance
0
I'm using Symfony 4. I'm using API Platform and FOSOAuthBundle. I can create a client and make a token but I can't access to Authorization Form
security.yaml
fos_oauth_server.yaml
fos_oauth_server: db_driver: orm # Drivers available: orm, mongodb, or propel
client_class: App\Entity\Client access_token_class: App\Entity\AccessToken refresh_token_class: App\Entity\RefreshToken auth_code_class: App\Entity\AuthCode
service: user_provider: security.user.provider.concrete.db_provider
As I try to access to : https://api.forheavent.test/oauth/v2/auth?client_id=1_1212121212
I keep on getting this error: "Full authentication is required to access this resource. " I'd like to access to the default controller and access to my auth page.
Another thing I tried is putting a default form_login because Symfony required an authenticator listener if I remove the anonymous option from my auth firewall...but actually I don't want it I've read many questions, docs, tutos but I can't get over it. Thanks in advance