@@ -21,13 +21,13 @@ Auth JWT
2121 :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
2222 :alt: License: LGPL-3
2323.. |badge3 | image :: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github
24- :target: https://github.com/OCA/server-auth/tree/18 .0/auth_jwt
24+ :target: https://github.com/OCA/server-auth/tree/19 .0/auth_jwt
2525 :alt: OCA/server-auth
2626.. |badge4 | image :: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27- :target: https://translation.odoo-community.org/projects/server-auth-18 -0/server-auth-18 -0-auth_jwt
27+ :target: https://translation.odoo-community.org/projects/server-auth-19 -0/server-auth-19 -0-auth_jwt
2828 :alt: Translate me on Weblate
2929.. |badge5 | image :: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30- :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=18 .0
30+ :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=19 .0
3131 :alt: Try me on Runboat
3232
3333|badge1 | |badge2 | |badge3 | |badge4 | |badge5 |
@@ -52,24 +52,24 @@ Odoo controller routes.
5252
5353To use it, you must:
5454
55- - Create an ``auth.jwt.validator `` record to configure how the JWT token
56- will be validated.
57- - Add an ``auth="jwt_{validator-name}" `` or
58- ``auth="public_or_jwt_{validator-name}" `` attribute to the routes you
59- want to protect where ``{validator-name} `` corresponds to the name
60- attribute of the JWT validator record.
55+ - Create an ``auth.jwt.validator `` record to configure how the JWT
56+ token will be validated.
57+ - Add an ``auth="jwt_{validator-name}" `` or
58+ ``auth="public_or_jwt_{validator-name}" `` attribute to the routes you
59+ want to protect where ``{validator-name} `` corresponds to the name
60+ attribute of the JWT validator record.
6161
6262The ``auth_jwt_demo `` module provides examples.
6363
6464The JWT validator can be configured with the following properties:
6565
66- - ``name ``: the validator name, to match the
67- ``auth="jwt_{validator-name}" `` route property.
68- - ``audience ``: a comma-separated list of allowed audiences, used to
69- validate the ``aud `` claim.
70- - ``issuer ``: used to validate the ``iss `` claim.
71- - Signature type (secret or public key), algorithm, secret and JWK URI
72- are used to validate the token signature.
66+ - ``name ``: the validator name, to match the
67+ ``auth="jwt_{validator-name}" `` route property.
68+ - ``audience ``: a comma-separated list of allowed audiences, used to
69+ validate the ``aud `` claim.
70+ - ``issuer ``: used to validate the ``iss `` claim.
71+ - Signature type (secret or public key), algorithm, secret and JWK URI
72+ are used to validate the token signature.
7373
7474In addition, the ``exp `` claim is validated to reject expired tokens.
7575
@@ -124,7 +124,7 @@ Bug Tracker
124124Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-auth/issues >`_.
125125In case of trouble, please check there if your issue has already been reported.
126126If you spotted it first, help us to smash it by providing a detailed and welcomed
127- `feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20auth_jwt%0Aversion:%2018 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** >`_.
127+ `feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20auth_jwt%0Aversion:%2019 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** >`_.
128128
129129Do not contact contributors directly about support or help with technical issues.
130130
@@ -139,8 +139,8 @@ Authors
139139Contributors
140140------------
141141
142- - Stéphane Bidoul <stephane.bidoul@acsone.eu>
143- - Mohamed Alkobrosli <malkobrosly@kencove.com>
142+ - Stéphane Bidoul <stephane.bidoul@acsone.eu>
143+ - Mohamed Alkobrosli <malkobrosly@kencove.com>
144144
145145Maintainers
146146-----------
@@ -163,6 +163,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
163163
164164|maintainer-sbidoul |
165165
166- This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/18 .0/auth_jwt >`_ project on GitHub.
166+ This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/19 .0/auth_jwt >`_ project on GitHub.
167167
168168You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
0 commit comments