Skip authorization page with oAuth 2 and FOSOAuthServerBundle Skip authorization page with oAuth 2 and FOSOAuthServerBundle symfony symfony

Skip authorization page with oAuth 2 and FOSOAuthServerBundle


If anyone struggles again, the solution is here :

https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/master/Resources/doc/the_oauth_event_class.md

This feature is not default in FOSOAuthServer bundle. You have to create and EventListener and check client or user status, save the user's choice, and [quote:even bypass the authorization process].