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

Ajout d'un test pour garantir que la session utilisateur ne dépasse pas 30 minutes #48

Merged
merged 1 commit into from May 12, 2023

Conversation

tonial
Copy link
Collaborator

@tonial tonial commented May 12, 2023

**Carte Notion : ** https://www.notion.so/plateforme-inclusion/Refonte-G-rer-la-dur-e-de-session-Django-0977be5cc91c4f46b8dbb58bedae1d1d?pvs=4

Pourquoi ?

On ne veut pas que la session soit étendue sans que l'utilisateur entre ses identifiants

@tonial tonial self-assigned this May 12, 2023
Copy link
Collaborator

@francoisfreitag francoisfreitag left a comment

Choose a reason for hiding this comment

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

Autrement LGTM.

"email": user.email,
"password": DEFAULT_PASSWORD,
},
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

On peut vérifier les status_code des réponses pour être sûr que les deux get/post de chaque block sont acceptés.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bonne idée vu que mon test ne marchait pas bien (le post retourne une 404 parce qu'il poste sur OIDC_PARAMS["redirect_uri"]....

@tonial tonial force-pushed the alaurent/session_duration branch from 291475a to 56f3d9b Compare May 12, 2023 12:17
@tonial tonial merged commit db55d9c into main May 12, 2023
1 check passed
@tonial tonial deleted the alaurent/session_duration branch May 12, 2023 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants