How to authentificate to api during tests ? #1368
Unanswered
manutheblacker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋🏾,
I'm currently implementing unit tests for my API, which utilizes secure cookies and CSRF tokens for user authentication.
I've written some test code, but I'm unsure about the correct approach to establish an authenticated connection before running my API tests.
Here is my code :
Beta Was this translation helpful? Give feedback.
All reactions