Skip to content

Commit 7751b04

Browse files
committed
Merge pull request #47 from lidaa/master
Update index.md
2 parents 0d1e56e + ecd7d0c commit 7751b04

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Resources/doc/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ access_control:
8383
- { path: ^/api, roles: IS_AUTHENTICATED_FULLY }
8484
```
8585

86+
Confgure your `routing.yml` :
87+
88+
``` yaml
89+
api_login_check:
90+
path: /api/login_check
91+
```
92+
8693
#### Important note for Apache users
8794

8895
As stated in [this link](http://stackoverflow.com/questions/11990388/request-headers-bag-is-missing-authorization-header-in-symfony-2) and [this one](http://stackoverflow.com/questions/19443718/symfony-2-3-getrequest-headers-not-showing-authorization-bearer-token/19445020), Apache server will strip any `Authorization header` not in a valid HTTP BASIC AUTH format.

0 commit comments

Comments
 (0)