Skip to content

Commit

Permalink
feat(authelia): new totp settings (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Dec 3, 2021
1 parent 17e7b94 commit e2e5314
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.7.0
version: 0.7.1
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
2 changes: 2 additions & 0 deletions charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ data:
{{- end }}
totp:
issuer: {{ default .Values.domain .Values.configMap.totp.issuer }}
algorithm: {{ default "sha1" .Values.configMap.totp.issuer }}
digits: {{ default 6 .Values.configMap.totp.issuer }}
period: {{ default 30 .Values.configMap.totp.period }}
skew: {{ default 1 .Values.configMap.totp.skew }}
ntp:
Expand Down
17 changes: 15 additions & 2 deletions charts/authelia/values.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,22 @@ configMap:
## See: https://github.com/google/google-authenticator/wiki/Key-Uri-Format for more info on issuer names
## Defaults to <domain>.
issuer: ""
## The period in seconds a one-time password is current for. Changing this will require all users to register
## their TOTP applications again. Warning: before changing period read the docs link below.

## The TOTP algorithm to use.
## It is CRITICAL you read the documentation before changing this option:
## https://www.authelia.com/docs/configuration/one-time-password.html#algorithm
algorithm: "sha1"

## The number of digits a user has to input. Must either be 6 or 8.
## Changing this option only affects newly generated TOTP configurations.
## It is CRITICAL you read the documentation before changing this option:
## https://www.authelia.com/docs/configuration/one-time-password.html#digits
digits: 6

## The period in seconds a one-time password is valid for.
## Changing this option only affects newly generated TOTP configurations.
period: 30

## The skew controls number of one-time passwords either side of the current one that are valid.
## Warning: before changing skew read the docs link below.
## See: https://www.authelia.com/docs/configuration/one-time-password.html#period-and-skew to read the documentation.
Expand Down
17 changes: 15 additions & 2 deletions charts/authelia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,22 @@ configMap:
## See: https://github.com/google/google-authenticator/wiki/Key-Uri-Format for more info on issuer names
## Defaults to <domain>.
issuer: ""
## The period in seconds a one-time password is current for. Changing this will require all users to register
## their TOTP applications again. Warning: before changing period read the docs link below.

## The TOTP algorithm to use.
## It is CRITICAL you read the documentation before changing this option:
## https://www.authelia.com/docs/configuration/one-time-password.html#algorithm
algorithm: "sha1"

## The number of digits a user has to input. Must either be 6 or 8.
## Changing this option only affects newly generated TOTP configurations.
## It is CRITICAL you read the documentation before changing this option:
## https://www.authelia.com/docs/configuration/one-time-password.html#digits
digits: 6

## The period in seconds a one-time password is valid for.
## Changing this option only affects newly generated TOTP configurations.
period: 30

## The skew controls number of one-time passwords either side of the current one that are valid.
## Warning: before changing skew read the docs link below.
## See: https://www.authelia.com/docs/configuration/one-time-password.html#period-and-skew to read the documentation.
Expand Down

0 comments on commit e2e5314

Please sign in to comment.