Skip to content

[18.0][MIG] auth_jwt: Migration to 18.0 #752

Merged
OCA-git-bot merged 48 commits into
OCA:18.0from
kencove:18.0-mig-auth_jwt
Aug 26, 2025
Merged

[18.0][MIG] auth_jwt: Migration to 18.0 #752
OCA-git-bot merged 48 commits into
OCA:18.0from
kencove:18.0-mig-auth_jwt

Conversation

@dnplkndll

Copy link
Copy Markdown
Contributor

No description provided.

@dnplkndll dnplkndll changed the title [18.0][MIG] auth_jwt [18.0][MIG] auth_jwt: Migration 18.0 Jan 16, 2025
@dnplkndll dnplkndll changed the title [18.0][MIG] auth_jwt: Migration 18.0 [18.0][MIG] auth_jwt: Migration to 18.0 Jan 16, 2025
@lmignon

lmignon commented Jan 17, 2025

Copy link
Copy Markdown
Contributor

/ocabot migration auth_jwt

@sbidoul

sbidoul commented Jan 18, 2025

Copy link
Copy Markdown
Member

Thanks for working on this. Could you re-do the migration based on the merged 17.0 version? Your migration commit is ok, but the history of the 17.0 branch you started with is a bit messy and has been cleaned-up since.

@kobros-tech kobros-tech left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lmignon
@sbidoul

could you review this PR, we have merged migration for 17.0 and we can migrate it for 18.0

@ChuwenSun ChuwenSun left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@dnplkndll dnplkndll force-pushed the 18.0-mig-auth_jwt branch 2 times, most recently from d5e8550 to bda753a Compare February 15, 2025 02:02
@dnplkndll

Copy link
Copy Markdown
Contributor Author

Thanks for working on this. Could you re-do the migration based on the merged 17.0 version? Your migration commit is ok, but the history of the 17.0 branch you started with is a bit messy and has been cleaned-up since.

@sbidoul rebased and squashed the bot commits.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@dnplkndll

Copy link
Copy Markdown
Contributor Author

any update requested or this should be ready to merge

@kobros-tech

Copy link
Copy Markdown
Contributor

@lmignon
@sbidoul

LGTM!

@sbidoul

sbidoul commented Mar 20, 2025

Copy link
Copy Markdown
Member

I think there is a problem with the _authenticate override in ir_http.py. The upstream method has changed and the arguments don't match anymore.

I'm surprised this would work correctly.

I'd say we should rather override _authenticate_explicit but I'm not sure.

@sbidoul sbidoul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned in my previous comment.

@sbidoul

sbidoul commented Mar 20, 2025

Copy link
Copy Markdown
Member

Ah, can you also migrate auth_jwt_demo in this same PR because that's where all the tests are.

@kobros-tech

Copy link
Copy Markdown
Contributor

Ah, can you also migrate auth_jwt_demo in this same PR because that's where all the tests are.

@sbidoul
Hi auth_jwt_demo is open now for review, #780

@sbidoul

sbidoul commented May 15, 2025

Copy link
Copy Markdown
Member

I commented on the auth_jwt_demo migration.

Have had a chance to look at #752 (comment) ?

sbidoul and others added 21 commits August 25, 2025 04:37
Distinguish errors that lead to a 401
from internal configuration errors.
Extract _parse_bearer_authorization function for easier reuse by fastapi_auth_jwt
Currently translated at 100.0% (64 of 64 strings)

Translation: server-auth-16.0/server-auth-16.0-auth_jwt
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_jwt/es/
Currently translated at 89.0% (57 of 64 strings)

Translation: server-auth-16.0/server-auth-16.0-auth_jwt
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_jwt/it/
Currently translated at 100.0% (64 of 64 strings)

Translation: server-auth-16.0/server-auth-16.0-auth_jwt
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_jwt/it/
Currently translated at 100.0% (64 of 64 strings)

Translation: server-auth-16.0/server-auth-16.0-auth_jwt
Translate-URL: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_jwt/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-17.0/server-auth-17.0-auth_jwt
Translate-URL: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_jwt/
@kobros-tech

Copy link
Copy Markdown
Contributor

@sbidoul

I think it is very ready now?

@yvaucher

Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-752-by-yvaucher-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 8f93c1c into OCA:18.0 Aug 26, 2025
7 of 9 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 5afea9a. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.