Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails during configuration (Symfony 4.4 - flex) #638

Open
Garfield-fr opened this issue Feb 10, 2020 · 1 comment
Open

Installation fails during configuration (Symfony 4.4 - flex) #638

Garfield-fr opened this issue Feb 10, 2020 · 1 comment

Comments

@Garfield-fr
Copy link

$ composer require friendsofsymfony/oauth-server-bundle

The installation fails when configuring with the following output:

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!
!!  In ArrayNode.php line 224:
!!
!!    The child node "db_driver" at path "fos_oauth_server" must be configured.
!!
!!
!!
Script @auto-scripts was called via post-update-cmd

Installation failed, reverting ./composer.json to its original content.
@Garfield-fr Garfield-fr changed the title Installation fails during configuration (Symfony 4.4) Installation fails during configuration (Symfony 4.4 - flex) Feb 16, 2020
@patrickbussmann
Copy link

Did you followed the documentation for setting up the bundle?

The child node "db_driver" at path "fos_oauth_server" must be configured.

https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/master/Resources/doc/index.md#step-5-configure-fosoauthserverbundle

Follow the setup instructions please.
First you need to create the entities for access token, ... and then you need to set up the configuration.

See comment here #639 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants