FriendsOfSymfony / FOSOAuthServerBundle

A server side OAuth2 Bundle for Symfony
1.09k stars 451 forks source link

Getting attribute 'fieldName': The attribute 'fieldName' is not all !! owed. #699

Open rupeshwankhede opened 1 year ago

rupeshwankhede commented 1 year ago

I am trying with the php8.1 version and Symfony 5.4 and mongodb-odm 2.0.

cjgordon commented 1 year ago

Hi @rupeshwankhede Please see: https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/issues/633 & https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/669

Need to use dev-master branch to work around this as there hasn't been release of this bundle in some time.

Cheers, Chris

cjgordon commented 1 year ago

FYI I used this in composer.json to target the 1.6 branch that has this fix: "friendsofsymfony/oauth-server-bundle": "dev-1.6",

Ultimately I am working to removed dependency on this bundle and would suggest doing the same as it is mostly abandoned/there are more modern options now.

Did a solid job for about 10 years there though :)

rupeshwankhede commented 1 year ago

@cjgordon dev-1.6 version not supported for PHP 8.0. Currently I am trying with below configuration php8.1 version and Symfony 5.4 and mongodb-odm 2.0.

Can you please merge https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/669 this PR into dev-master branch.