mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 00:17:34 +02:00
authenticate: make session default match IDP (#416)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
59f1838996
commit
487fc655d6
5 changed files with 10 additions and 16 deletions
|
@ -7,7 +7,6 @@ import (
|
|||
"fmt"
|
||||
"html/template"
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/pomerium/pomerium/config"
|
||||
"github.com/pomerium/pomerium/internal/cryptutil"
|
||||
|
@ -22,10 +21,6 @@ import (
|
|||
|
||||
const callbackPath = "/oauth2/callback"
|
||||
|
||||
// DefaultSessionDuration is the default time a managed route session is
|
||||
// valid for.
|
||||
var DefaultSessionDuration = time.Minute * 10
|
||||
|
||||
// ValidateOptions checks that configuration are complete and valid.
|
||||
// Returns on first error found.
|
||||
func ValidateOptions(o config.Options) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue