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
@@ -55,6 +55,12 @@ You can change these to your liking.
55
55
-`ENABLE_ADMIN`: the first account created is an administrator account
56
56
-`DRIFT_HOME`: defaults to ~/.drift, the directory for storing the database and eventually images
57
57
58
+
### For SSO
59
+
60
+
-`HEADER_AUTH`: if true, enables authenthication via the HTTP header specified in `HEADER_AUTH_KEY` which generally populated at the reverse-proxy level.
61
+
-`HEADER_AUTH_KEY`: if `HEADER_AUTH` is true, the header to look for the users username (like `Auth-User`)
62
+
-`HEADER_AUTH_ROLE`: if `HEADER_AUTH` is true, the header to look for the users role ("user" | "admin", at the moment)
63
+
58
64
## Running with pm2
59
65
60
66
It's easy to start Drift using [pm2](https://pm2.keymetrics.io/).
0 commit comments