[OpenSIPS-Devel] [OpenSIPS/opensips] 6ce038: Added JWT script authorizing capabilities

vladpaiu noreply at github.com
Fri Jan 28 12:38:05 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6ce038ac5c530a78697cc87fcf3eaa0aaa8d8134
      https://github.com/OpenSIPS/opensips/commit/6ce038ac5c530a78697cc87fcf3eaa0aaa8d8134
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M modules/auth_jwt/README
    M modules/auth_jwt/authjwt_mod.c
    M modules/auth_jwt/authjwt_mod.h
    M modules/auth_jwt/authorize.c
    M modules/auth_jwt/authorize.h
    M modules/auth_jwt/doc/auth_jwt_admin.xml

  Log Message:
  -----------
  Added JWT script authorizing capabilities

Previously, the module only worked with a DB backend containing
the keys to be used for validating JWTs.

Added jwt_script_authorize() func for passing the pub key
directly from the script, without requiring any DB interaction.

Renamed jwt_authorize() to jwt_db_authorize() for clarity.

Added db_mode ( defaults to 0 ) - no DB interaction





More information about the Devel mailing list