Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Documented simulating an authentication by manual token creation.#2468
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Could you please atthe pull request format to your PR message? |
One of the solutions is to configure your firewall to use ``http_basic`` in | ||
the test environment as explained in | ||
:doc:`How to simulate HTTP Authentication in a Functional Test</cookbook/testing/http_authentication>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
just use:
:doc:`/cookbook/testing/http_authentication`
It will default to the heading of the document.
@wouterj done. Thanks! |
Documented simulating an authentication by manual token creation.
Hi Jakub! Great entry! I've merged in with only very minor tweaks. Thanks! |
Even though there are better ways of doing the same thing (like alternative authentication strategy for test environment), we're getting lots of questions on how to properly authenticate a user in a functional test by creating a token manually (seesymfony/symfony#5161).