Increase authentication timeout

When using multi-factor authentication in the Shturval platform, it may take longer to complete it. The default is 60 seconds. To change this time, apply the shturval-auth annotation to the specification. To do this:

  1. Prepare a ShturvalServicePatch to apply to the Authentication Control Module (shturval-auth) specification (ssc), where add an annotation with the required timeout time.
Example ShturvalServicePatch
apiVersion: ops.shturval.tech/v1beta2
kind: ShturvalServicePatch
metadata:
  name: <resource name>
spec:
  shturvalServiceConfigName: shturval-auth
  customvalues:
    ingress_auth:
      annotations:
        nginx.ingress.kubernetes.io/proxy-read-timeout: "<your parameter value>"
ParameterDescriptionExample
metadata.nameName of the created PatchSSCshturval-auth-timeout
nginx.ingress.kubernetes.io/proxy-read-timeoutTimeout annotation for authentication. The value must be specified in seconds1000
  1. Go to the management cluster and load the prepared ShturvalServicePatch using manifest import.
Screenshot

authtimeoutpatch