Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jwt-auth): Fix #11276 #11282

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Commits on May 23, 2024

  1. Fix apache#11276 + little style refactor

    Features:
    - config param "key_claim_name" (default = "key"), so for example one could use "iss" to check the validity of the JWT;
    
    Style:
    - 2 blank lines between functions;
    - 1 blank like before "else" and "elseif";
    - jwt -> JWT;
    - Capitalized logs and response messages;
    - Added description for each schema configuration parameter;
    mikyll committed May 23, 2024
    Configuration menu
    Copy the full SHA
    afa520d View commit details
    Browse the repository at this point in the history
  2. Update jwt-auth.md

    mikyll committed May 23, 2024
    Configuration menu
    Copy the full SHA
    afb3d6b View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. Configuration menu
    Copy the full SHA
    bd76c43 View commit details
    Browse the repository at this point in the history
  2. Added test case for new jwt-auth feature

    I added a new test case for feature apache#11276
    
    Since the default value of the new config parameter "key_claim_name" is "key", "default behaviour" is already validated by other tests.
    mikyll committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    2af7e15 View commit details
    Browse the repository at this point in the history
  3. Update jwt-auth4.t

    + Removed external httpbin upstream in favor of local endpoint (/hello);
    + Cleaned code;
    mikyll committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    92bd025 View commit details
    Browse the repository at this point in the history