-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration: Session Behaviour
The session behavior section of the configuration defines how OWAG handles sessions.
Example:
sessionBehaviour:
sessionDuration: 3600
renewWhenLessThan: 1800
redirectLoginSuccess: /
redirectLoginFailure: /
redirectLogout: /
Defines how long a session cookie is valid after the user has authenticated in seconds. The default value is 3600.
If defined, this setting can be used to have a rolling session behavior. If OWAG gets a request with a token that is still valid but for less than the specified value OWAG refreshes the session and issues a new session with the sessionDuration
length. If the value is <= 0 or not defined the user needs to sign in again after the session is expired. The default value is 1800.
Default URL where the user is redirected to after successful authentication. If there is a returnUrl
parameter during the logout the request parameter has precedence.
Default URL where the user if there is an error during authentication (For instance if the user entered false credentials).
Default URL where the user if there is an after logout. If there is a returnUrl
parameter during the logout the request parameter has precedence.
This Wiki contains the documentation of the OWASP Application Gateway (OAG). If you think that we missed something please add an issue on GitHub.
- Wiki Home
There is also a Swagger documentation of all OAG endpoint available online: https://app.swaggerhub.com/apis-docs/gianlucafrei/OAG/0.4#/