Skip to content

add API for creating test users #6727

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

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

Conversation

escattone
Copy link
Contributor

@escattone escattone requested a review from akatsoulas June 17, 2025 20:59
Comment on lines +367 to +378
"cookies": [
{
"name": settings.SESSION_COOKIE_NAME,
"value": session.session_key,
"max-age": 60 * 60, # 1 hour
"path": settings.SESSION_COOKIE_PATH,
"domain": settings.SESSION_COOKIE_DOMAIN,
"secure": settings.SESSION_COOKIE_SECURE,
"httponly": settings.SESSION_COOKIE_HTTPONLY,
"samesite": settings.SESSION_COOKIE_SAMESITE,
},
],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This format for "cookies" is what @emilghittasv requested, since he can use it without modification.

@escattone escattone force-pushed the api-for-test-user-creation-2287 branch from f1d529a to 4bc400a Compare June 17, 2025 21:05
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.

1 participant