Skip to content
This repository was archived by the owner on May 19, 2020. It is now read-only.

Commit 4ba2c19

Browse files
author
Daniel Kiesel
committed
added routing to readme
1 parent 4ef6590 commit 4ba2c19

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,18 @@ fos_oauth_server:
8282
user_provider: craffft.contao_oauth2.user_provider
8383
```
8484
85+
Import the routing.yml configuration file in app/config/routing.yml:
86+
87+
```yml
88+
# app/config/routing.yml
89+
90+
fos_oauth_server_token:
91+
resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"
92+
93+
fos_oauth_server_authorize:
94+
resource: "@FOSOAuthServerBundle/Resources/config/routing/authorize.xml"
95+
```
96+
8597
Copy the content of `vendor/contao/core-bundle/src/Resources/config/security.yml`
8698
file and replace `app/config/security.yml` file with it. Than amend it with the
8799
following code:

0 commit comments

Comments
 (0)