Skip to content

Feature: Dynamic JWT Certificate Discovery via JWKS #162

@pawelmarkowski

Description

@pawelmarkowski

Overview

Currently, CasWAF relies on an embedded certificate for JWT handling during initialisation. CasWAF should support dynamic certificate fetching from a JWKS (JSON Web Key Set) endpoint at runtime.

Use Case Example

A person responsible for deployment sets the environment variable, or proper config during deployment:
/conf/app.conf
casdoorEndpoint = https://door.example.com

Upon startup, casWAF fetches the latest keys from casdoor endpoint, allowing the deployment to automatically trust tokens signed by the external provider without manual certificate management.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions