JWTRefreshTokenBundle icon indicating copy to clipboard operation
JWTRefreshTokenBundle copied to clipboard

How to disable table auto-generation `refresh_tokens`???

Open PHPTCloud opened this issue 3 years ago • 3 comments

I implemented a new entity (App\Entity\RefreshToken extends your AbstractRefreshToken), but still getting default refresh_tokens table.

How to disable table auto-generation refresh_tokens???

config/packages/gesdinet_jwt_refresh_token.yaml

gesdinet_jwt_refresh_token:
  token_parameter_name: refresh_token
  refresh_token_class: App\Entity\RefreshToken
  doctrine_mappings: false

PHPTCloud avatar Feb 20 '22 16:02 PHPTCloud

There are bug in latest versions. Maybe fix from https://github.com/markitosgv/JWTRefreshTokenBundle/pull/304 can help you.

gordinskiy avatar Feb 22 '22 15:02 gordinskiy

The 1.1 release fixed this.

mbabker avatar Apr 11 '22 15:04 mbabker

@PHPTCloud

Could you close this issue, if it's solving your problem

eerison avatar Nov 16 '22 21:11 eerison