Pipes
2.1.0 Pipes
2.1.0 Pipes
  • Introduction
  • Configuration
  • Valves
    • Debug
      • Dump Request
      • Dump Session
      • Dump State
    • Flow
      • Flow Fail
      • Flow State Add
      • Assert Value
      • Pipe Exec
      • Pipe Call
    • Item
      • Item Create
      • Item Merge
      • Item Remove
      • Items Remove
      • Item Property Add
      • Item Property Split
      • Item Property Rename
      • Item Property Token Replace
      • MV Property To Items
      • MV Property Join
    • Freja
    • BankID
      • BidOperation
      • BidToItems
    • DateTime
      • Instant Generator
      • Instant Transformer
    • HTTP
      • GET
      • PUT
      • POST
      • DELETE
    • JWT
      • CreateJwt
      • ParseJwt
    • JSON
      • JsonObjectCreate
    • LDAP
      • LDAP Search
      • LDAP Group Filter
      • LDAP Bind
      • LDAP Add
      • LDAP Modify
      • LDAP Move
      • DN Parse
    • JDBC Query
    • Cef event
    • Request
      • RequestParameterExist
      • RequestParameterRename
    • Session
      • Session Put
      • CopyFromSession
    • ScriptEval
    • Codecs
      • Base64 Encode
      • Base64 Decode
    • Tokens
      • Token Authentication
    • PKI
      • X509 Certificate Extractor
      • X509 Certificate Validator
    • Delivery
      • Clean Mobile Valve
      • SMS Valve
      • Voice Valve
      • SMTP Valve
    • OTP
      • OTP Generation
      • OTP Validation
    • Misc
      • Basic Auth
Powered by GitBook
On this page
  • Prerequisites
  • Configuration
  1. Valves
  2. Tokens

Token Authentication

Validates an OATH token otp.

Use this valve to validate a one time password against token(s) assigned to a user.

Prerequisites

Before using this valve the TokenDB module must be configured and deployed.

Configuration

Valve name: TokenAuthentication | TokenValidation | OathTokenValidation

Name
Description
Default value
Mandatory
Expanded

otp_length

Length of the one-time password.

6

otp_parameter

Parameter containing the one-time password.

N/A

username_parameter

Parameter containing the username.

N/A

enable_yubikey

Enables yubikey OATH tokens.

false

namespace

Token database module namespace.

token_db_module_name

DEPRECATED: use namespace instead.

{
    "name": "TokenAuthentication",
    "config": {
        "otp_length": "6",
        "otp_parameter": "{{{request.User-Password}}}",
        "username_parameter": "{{{request.User-Name}}}",
        "namespace": "default"
    }
}
PreviousTokensNextPKI