RefreshTokenCreatedEvent is published when a refresh token is re-used

Description

If two refresh tokens are created with the same client_id for a given user the same refresh token is returned.
But when the second request is done wazo-auth still publishes the auth_refresh_token_created event even though it was not created by that request.

Done

Assignee

Pascal Cadotte

Reporter

Pascal Cadotte

Sprint

None

Labels

Approvers

Fran├žois Blackburn