Skip to content

Release v2.68.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 20:39
c74f303

A deployment can now sign people in with an e-mailed one-time code that AuthProxy itself issues and verifies, without running a separate identity service for it. The application keeps the parts that are its own: who may sign in, the wording of the mail and its delivery.

Added

  • A Code provider type (Authentication:OidcProviders[].Type: Code, with Code:RequestUrl, Code:Issuer, Code:Attestation, length, lifetime, attempt and throttle settings) that asks for an e-mail address, sends a one-time code through a signed request to the application, and signs the person in when the code is entered. It needs no Authority or ClientId, and RequireVerifiedEmail, DenialResponse, per-provider Session, CanonicalIdentity, fresh authentication and invitation completion work for it as for any provider. (#370)
  • Replaceable code-email.html and code-verify.html pages served on the scheme's /signin-{scheme} path, and a Code documentation page.
  • Authentication:CodeStatePath, a directory for in-flight challenges and request counters that is meant to be a mounted volume (shared ReadWriteMany for several replicas). Codes are stored only as a salted hash, a code is consumed at most once even when requests race, and wrong codes count against a per-challenge limit.
  • Request throttling per address and per client, applied before the application is called, and an identical answer on screen whether or not the application accepted the address.