FOSOAuthServerBundle icon indicating copy to clipboard operation
FOSOAuthServerBundle copied to clipboard

update ODM part of example: add user property in AccessToken

Open wingzero0 opened this issue 7 years ago • 1 comments

update ODM part of example: add user property in AccessToken, RefressToken, AuthCode.

Missing it will cause mongodb not saving the referenced user, and in the authenication step, it will not able to get back user.

Also replace the mapping with annotation for reading reasier.

wingzero0 avatar Apr 06 '18 04:04 wingzero0

#483 already does some improvements in the docs for ODM, even though we weren't quite sure whether we'd want to use annotations or XML.

alcaeus avatar Jul 09 '19 08:07 alcaeus