Skip to content

[20.0][MIG] fastapi_auth_jwt - #683

Open
ntsirintanis wants to merge 21 commits into
OCA:20.0from
Therp:20.0-mig-fastapi_auth_jwt
Open

ntsirintanis wants to merge 21 commits into
OCA:20.0from
Therp:20.0-mig-fastapi_auth_jwt

Conversation

@ntsirintanis

Copy link
Copy Markdown

Migration of fastapi_auth_jwt to 20.0.

The module was never migrated to 19.0 (its dependency auth_jwt wasn't either), so this is ported directly from 18.0.

Depends on

The last two are pulled in through test-requirements.txt

Tests
This PR adds a test suite covering AuthJwtPayload, AuthJwtPartner and AuthJwtOdooEnv, the default validator override, the allow_unauthenticated variants, and the 401 cases (missing/malformed header, expired token, bad signature, wrong audience/issuer, unknown partner).

@OCA-git-bot OCA-git-bot added mod:fastapi Module fastapi mod:rest_log Module rest_log mod:base_rest Module base_rest mod:fastapi_auth_jwt Module fastapi_auth_jwt series:20.0 mod:extendable Module extendable labels Nov 2, 2026
@ntsirintanis
ntsirintanis force-pushed the 20.0-mig-fastapi_auth_jwt branch from d7e0040 to ef5a407 Compare November 2, 2026 10:04
@ntsirintanis
ntsirintanis marked this pull request as ready for review November 2, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:base_rest Module base_rest mod:extendable Module extendable mod:fastapi_auth_jwt Module fastapi_auth_jwt mod:fastapi Module fastapi mod:rest_log Module rest_log series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants