IBX-8817: Documented http_basic
authentication config
#138
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This PR aims to document how
http_basic
authenticator can be used. All the necessary documentation that needs to be put in place can be found here https://symfony.com/doc/5.x/security.html#http-basic.The example
ibexa_http_basic
firewall allows authorizing via browser window whenever inaccessible resource is reached by just passing regular user data.From the technical point of view, all the work is done by built-in Symfony
Symfony\Component\Security\Http\Authenticator\HttpBasicAuthenticator
.For QA:
To properly check proposed changes one needs to uncomment
ibexa_http_basic
firewall and enter any URL that shouldn't be visible without being logged in using regular credentials (e.g./admin/dashboard
). After populating the browser modal with user's data, BO should become usable.Documentation:
I suggest documenting this PR in form of a note which redirects us to the mentioned Symfony doc. Some screenshots might be also useful to better exemplify the actual feature.