You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -487,9 +489,9 @@ In the example below, we will add `forwardedHeaders` -> `trustedIPs` and add all
487
489
options: default
488
490
certResolver: cloudflare
489
491
domains:
490
-
- main: domain.com
492
+
- main: domain.lan
491
493
sans:
492
-
- '*.domain.com'
494
+
- '*.domain.lan'
493
495
```
494
496
495
497
<br />
@@ -502,7 +504,7 @@ Save the files and then give Traefik and your Keeweb containers a restart.
502
504
503
505
#### Authentik Integration
504
506
505
-
If you are adding [Authentik](https://goauthentik.io/) as middleware in the steps above; the last thing you must do is log in to your Authentik admin panel and add a new **Provider** so that we can access Keeweb via your domain.
507
+
This section will not explain how to install and set up [Authentik](https://goauthentik.io/). We are only going to cover adding Keeweb integration to Authentik.
506
508
507
509
<br />
508
510
@@ -532,7 +534,7 @@ Add the following provider values:
532
534
<br />
533
535
534
536
Select **Forward Auth (single application)**:
535
-
- **External Host**: `https://keeweb.domain.com`
537
+
- **External Host**: `https://keeweb.domain.lan`
536
538
537
539
<br />
538
540
@@ -586,7 +588,83 @@ Move `Keeweb (Password Manager)` to the right side **Selected Applications** box
586
588
587
589
<br />
588
590
589
-
You should be able to access `keeweb.domain.com` and be prompted now to authenticate with Authentik.
591
+
If you followed our [Traefik](#traefik-integration) guide above, you were shown how to add your Keeweb container to Traefik using either the **[dynamic file](#dynamicyml)** or **[labels](#labels)**. Depending on which option you picked, follow that section's guide below.
592
+
593
+
- For **label** users, go to the section [Labels](#labels-1) below.
594
+
- For **dynamic file** users, go to the section [Dynamic File](#dynamicyml-1) below.
595
+
596
+
<br />
597
+
598
+
##### Labels
599
+
600
+
Open your Keeweb's `docker-compose.yml` and modify your labels to include Authentik as a **middleware** by adding `authentik@file` to the label `traefik.http.routers.keeweb-https.middlewares`. You should have something similar to the example below:
If you opted to use the [dynamic file](#dynamicyml), open your Traefik's `dynamic.yml` file and apply the `authentik@file` middleware to look something like the following:
After you've done everything above, give your **Traefik** and **Authentik** containers a restart. Once they come back up; you should be able to access `keeweb.domain.lan` and be prompted now to authenticate with Authentik. Once you authenticate, you should be re-directed to your Keeweb home screen which asks you to load a vault file.
0 commit comments