Skip to content

Conversation

@dnplkndll
Copy link
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
Copy link
Contributor

lmignon commented Jan 17, 2025

/ocabot migration auth_jwt

@sbidoul
Copy link
Member

sbidoul commented Jan 18, 2025

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.

Copy link
Contributor

@kobros-tech kobros-tech left a comment

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

Copy link

@ChuwenSun ChuwenSun left a comment

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
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
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
Contributor Author

any update requested or this should be ready to merge

@kobros-tech
Copy link
Contributor

@lmignon
@sbidoul

LGTM!

@sbidoul
Copy link
Member

sbidoul commented Mar 20, 2025

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.

Copy link
Member

@sbidoul sbidoul left a comment

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
Copy link
Member

sbidoul commented Mar 20, 2025

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

@kobros-tech
Copy link
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
Copy link
Member

sbidoul commented May 15, 2025

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
Contributor

@sbidoul

I think it is very ready now?

@yvaucher
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
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
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.