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

fix(authentification): delete all refresh token #475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaspard-lonchampt
Copy link
Contributor

Proposal to fix refresh token error : https://trello.com/c/PMRGH2i8/1461

@gaspard-lonchampt gaspard-lonchampt force-pushed the fix/delete_all_refresh_token branch from a521603 to cb2fef0 Compare December 15, 2024 20:20
Copy link
Contributor

@tristan-gueguen tristan-gueguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On peut tester mais je ne suis pas sûr de voir si ça va résoudre le problème. J'ai mis un commentaire car en lisant le code je pense que ça doit pouvoir générer une erreur lors de la déco controlleur

🔴 les tests ne passent pas aussi

token=identity.get("token"),
controller_user_id=identity.get("controllerUserId"),
)
delete_controller_refresh_token()
Copy link
Contributor

@tristan-gueguen tristan-gueguen Dec 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 cette fonction supprime le token controller mais l'éxécution continue après, est-ce que ce n'est pas un problème ? la ligne 417 ne va pas provoquer une erreur ? et la ligne 423 (on n'aura pas set user_id)

@tristan-gueguen tristan-gueguen self-requested a review December 17, 2024 08:25
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

Successfully merging this pull request may close these issues.

2 participants