Skip to content

Commit 4027a0d

Browse files
committed
Show Cookie duration
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 0a9a095 commit 4027a0d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/tutorial/http-authentication.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,12 @@ inlets-pro http client \
103103

104104
Once authenticated, a cookie will be set on the domain i.e. `tunnel.example.com` and the user will be redirected back to the root URL of the service `/`.
105105

106-
The duration of the cookie defaults to 5 minutes, but can be extended.
106+
The duration of the cookie defaults to 1 hour, but can be extended through the `--oauth-cookie-ttl` flag i.e.
107+
108+
```diff
109+
inlets-pro http client \
110+
+ --oauth-cookie-ttl 24h \
111+
```
107112

108113
For the first version, GitHub is the only option available for the `--oauth-provider`. More options will be added over time, based upon requests from users, so if you want to use Google, Facebook, GitLab, etc, send us an email to help with prioritisation.
109114

0 commit comments

Comments
 (0)