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

Rediriger vers /login si la session a expiré #29

Closed
floriannari opened this issue May 2, 2024 · 0 comments
Closed

Rediriger vers /login si la session a expiré #29

floriannari opened this issue May 2, 2024 · 0 comments
Assignees
Labels

Comments

@floriannari
Copy link
Contributor

Actuellement, si la session expire mais qu'on ne recharge pas la page. Les appels à l'API seront redirigés vers /login.
Les actions de l'utilisateur ne seront donc as prises en compte. (sans qu'il s'en aperçoive forcément).

Lors d'un appel API, en cas de session expirée, il faudrait donc renvoyer une erreur indiquant de se reconnecter.
Côté navigateur, rediriger la page vers /login à la réception de cette erreur.

@floriannari floriannari added the bug label May 2, 2024
@floriannari floriannari self-assigned this May 2, 2024
floriannari added a commit that referenced this issue Aug 26, 2024
and rename formatApiUrl to formatApiUri
floriannari added a commit that referenced this issue Sep 10, 2024
and rename formatApiUrl to formatApiUri
floriannari added a commit that referenced this issue Sep 12, 2024
and rename formatApiUrl to formatApiUri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant