File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,19 @@ composer require tymon/jwt-auth
8
8
9
9
-------------------------------------------------------------------------------
10
10
11
- ### Bootstrap file changes.
11
+ ### Copy the config
12
+
13
+ Copy the ` config ` file from ` vendor/tymon/jwt-auth/config/config.php ` to ` config ` folder of your Lumen application and rename it to ` jwt.php `
14
+
15
+ Register your config by adding the following in the ` bootstrap/app.php ` before middleware declaration.
16
+
17
+ ``` php
18
+ $app->configure('jwt');
19
+ ```
20
+
21
+ -------------------------------------------------------------------------------
22
+
23
+ ### Bootstrap file changes
12
24
13
25
Add the following snippet to the ` bootstrap/app.php ` file under the providers section as follows:
14
26
You can’t perform that action at this time.
0 commit comments