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
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,12 @@ You can change these to your liking.
45
45
-`ENABLE_ADMIN`: the first account created is an administrator account
46
46
-`DRIFT_HOME`: defaults to ~/.drift, the directory for storing the database and eventually images
47
47
48
+
### For SSO
49
+
50
+
-`HEADER_AUTH`: if true, enables authenthication via the HTTP header specified in `HEADER_AUTH_KEY` which generally populated at the reverse-proxy level.
51
+
-`HEADER_AUTH_KEY`: if `HEADER_AUTH` is true, the header to look for the users username (like `Auth-User`)
52
+
-`HEADER_AUTH_ROLE`: if `HEADER_AUTH` is true, the header to look for the users role ("user" | "admin", at the moment)
53
+
48
54
## Running with pm2
49
55
50
56
It's easy to start Drift using [pm2](https://pm2.keymetrics.io/).
0 commit comments