[OpenSIPS-Devel] [OpenSIPS/opensips] 547717: Added AUTH_JWT module

vladpaiu noreply at github.com
Thu Mar 12 13:12:08 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 547717bcef5fb9b2053bf254e056150c2ec83e69
      https://github.com/OpenSIPS/opensips/commit/547717bcef5fb9b2053bf254e056150c2ec83e69
  Author: Vlad Paiu <vladpaiu at opensips.org>
  Date:   2020-03-12 (Thu, 12 Mar 2020)

  Changed paths:
    M Makefile.conf.template
    A db/schema/auth_jwt_profiles.xml
    A db/schema/auth_jwt_secrets.xml
    A db/schema/opensips-authjwt.xml
    A modules/auth_jwt/Makefile
    A modules/auth_jwt/README
    A modules/auth_jwt/authjwt_mod.c
    A modules/auth_jwt/authjwt_mod.h
    A modules/auth_jwt/authorize.c
    A modules/auth_jwt/authorize.h
    A modules/auth_jwt/doc/auth_jwt.xml
    A modules/auth_jwt/doc/auth_jwt_admin.xml
    A modules/auth_jwt/jwt_avps.h
    A scripts/db_berkeley/opensips/jwt_profiles
    A scripts/db_berkeley/opensips/jwt_secrets
    A scripts/dbtext/opensips/jwt_profiles
    A scripts/dbtext/opensips/jwt_secrets
    A scripts/mysql/authjwt-create.sql
    A scripts/oracle/authjwt-create.sql
    A scripts/pi_http/authjwt-mod
    A scripts/pi_http/authjwt-table
    M scripts/pi_http/pi_framework.xml
    A scripts/postgres/authjwt-create.sql
    A scripts/sqlite/authjwt-create.sql

  Log Message:
  -----------
  Added AUTH_JWT module

In some cases ( ie. WebRTC ) the user authenticates on another
layer ( eg. on the actual website ), so it makes no sense to
double-authenticate it on the SIP layer.
Thus, the WebRTC client will simply present the JWT auth token
it received from the server, and pass it on to
OpenSIPS ( ie. Authorization: Bearer jwt_token_here )
which will use that for authentication purposes.





More information about the Devel mailing list