Skip to content

Commit 127faaa

Browse files
committed
Fixed API client creation in docs
1 parent cf31006 commit 127faaa

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

docs/self-hosting/guides/docker.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -178,20 +178,7 @@ To activate this feature you need to create a OAuth client via the CLI.
178178
docker 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.
195182
Now users can create API tokens in the user settings.
196183
Read more about how you can create an API token and how to use the API [here](/user-guide/access-api).
197184

0 commit comments

Comments
 (0)