support user configuration of auth cookie max age
Signed-off-by: Jessica He <jhe@redhat.com>
This commit is contained in:
@@ -47,6 +47,8 @@ auth:
|
||||
development:
|
||||
clientId: ${APP_ID}
|
||||
organizationId: ${ORG_ID}
|
||||
## uncomment to set lifespan of user session
|
||||
# sessionDuration: { hours: 24 } # supports `ms` library format (e.g. '24h', '2 days'), ISO duration, "human duration" as used in code
|
||||
signIn:
|
||||
resolvers:
|
||||
# See https://backstage.io/docs/auth/vmware-cloud/provider#resolvers for more resolvers
|
||||
@@ -68,6 +70,10 @@ key for signing session cookies set by Backstage.
|
||||
|
||||
:::
|
||||
|
||||
### Optional
|
||||
|
||||
- `sessionDuration`: Lifespan of the user session.
|
||||
|
||||
### Resolvers
|
||||
|
||||
This provider includes several resolvers out of the box that you can use:
|
||||
|
||||
Reference in New Issue
Block a user