File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -178,20 +178,7 @@ To activate this feature you need to create a OAuth client via the CLI.
178178docker compose exec scheduler php artisan passport:client --personal --name="API"
179179` ` `
180180
181- This command will create the client in the database and output the client ID and the client secret.
182- The client ID and the client need to be added to the `laravel.env` file.
183-
184- ` ` ` env
185- PASSPORT_PERSONAL_ACCESS_CLIENT_ID="insert-id"
186- PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET="insert-secret"
187- ` ` `
188-
189- After you added the client ID and the client secret to the `laravel.env` file, you need to restart the containers.
190-
191- ` ` ` bash
192- docker compose down && docker compose up -d
193- ` ` `
194-
181+ This command will create the client in the database. You only need to run this command once.
195182Now users can create API tokens in the user settings.
196183Read more about how you can create an API token and how to use the API [here](/user-guide/access-api).
197184
You can’t perform that action at this time.
0 commit comments