server-auth icon indicating copy to clipboard operation
server-auth copied to clipboard

[18.0][MIG] auth_jwt: Migration to 18.0

Open dnplkndll opened this issue 1 year ago • 9 comments

dnplkndll avatar Jan 16 '25 22:01 dnplkndll

/ocabot migration auth_jwt

lmignon avatar Jan 17 '25 07:01 lmignon

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 avatar Jan 18 '25 14:01 sbidoul

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.

dnplkndll avatar Feb 15 '25 02:02 dnplkndll

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). 🤖

OCA-git-bot avatar Feb 15 '25 03:02 OCA-git-bot

any update requested or this should be ready to merge

dnplkndll avatar Mar 19 '25 18:03 dnplkndll

@lmignon @sbidoul

LGTM!

kobros-tech avatar Mar 20 '25 13:03 kobros-tech

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 avatar Mar 20 '25 15:03 sbidoul

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

sbidoul avatar Mar 20 '25 18:03 sbidoul

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, https://github.com/OCA/server-auth/pull/780

kobros-tech avatar Apr 01 '25 17:04 kobros-tech

I commented on the auth_jwt_demo migration.

Have had a chance to look at https://github.com/OCA/server-auth/pull/752#issuecomment-2740815023 ?

sbidoul avatar May 15 '25 16:05 sbidoul

@sbidoul thank you, but the method you commented on "_authenticate" is fixed as I guess, or you have an improvement?

kobros-tech avatar May 15 '25 21:05 kobros-tech

Before merging this, we need a finalized auth_jwt_demo PR https://github.com/OCA/server-auth/pull/780, to make sure all tests pass.

sbidoul avatar Jun 16 '25 16:06 sbidoul

@sbidoul

I think it is very ready now?

kobros-tech avatar Aug 26 '25 02:08 kobros-tech

/ocabot merge nobump

yvaucher avatar Aug 26 '25 06:08 yvaucher

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 avatar Aug 26 '25 06:08 OCA-git-bot

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

OCA-git-bot avatar Aug 26 '25 07:08 OCA-git-bot