Repository navigation
Release v2.68.0
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
Codeprovider type (Authentication:OidcProviders[].Type: Code, withCode: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 noAuthorityorClientId, andRequireVerifiedEmail,DenialResponse, per-providerSession,CanonicalIdentity, fresh authentication and invitation completion work for it as for any provider. (#370) - Replaceable
code-email.htmlandcode-verify.htmlpages served on the scheme's/signin-{scheme}path, and aCodedocumentation 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.