Pipes
2024.40 Pipes
2024.40 Pipes
  • Introduction
  • Configuration
  • Valves
    • API
      • HTTP Response Format Valve
    • Debug
      • Dump Request
      • Dump Session
      • Dump State
      • Wait
    • EntraID
      • Create User
      • Get User
      • List Users
      • Add User Groups
    • 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
      • JSON 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 Delete
      • LDAP Modify
      • LDAP Move
      • DN Parse
    • JDBC Query
    • Cef event
    • Request
      • RequestParameterExist
      • RequestParameterRename
    • Session
      • Session Put
      • Session Create
      • CopyFromSession
    • ScriptEval
    • Codecs
      • Base64 Encode
      • Base64 Decode
    • Tokens
      • Token Authentication
    • PKI
      • X509 Certificate Extractor
      • Passcode Generator
      • 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
  1. Valves
  2. JWT

ParseJwt

Parses a JSON Web Token, JWT and verifies the signature. Claims is put on the current item.

Configuration

Valve name: ParseJwt

Name
Description
Default value
Mandatory
Expanded

jwt_src

Source of the JWT.

"{{request.access_token}}"

verify_token

If the signature should be verified.

true

keystore

Keystore reference or json object containing keystore configuration. Used to verify JWT signature.

N/A

keystore_alias

Keystore alias.

N/A

sign_algorithm

Algorithm used when signature was created.

"RS256"

{
    "name": "ParseJwt",
    "config": {
        "jwt_src": "{{{session.access_token}}}",
        "keystore": {
             "path": "/fortified_test/config/keystore.p12",
             "password": "secret",
             "type": "PKCS12"
        },
        "keystore_alias" : "jwt",
    }
}

PreviousCreateJwtNextJSON