Repository navigation
[20.0][MIG] auth_oauth_multi_token: Migration to 20.0 - #1058
chienandalu wants to merge 26 commits into
Conversation
|
The following commit authors need to sign the Contributor License Agreement: |
|
Could you please check Runboat @chienandalu ? It's returning the following error: {"detail":"Not Found"}. Thanks! |
Allow multiple oauth login at the same time.
* cleanup, improve, docstrings * add tests
Nothing special. Just making linters happy and splitting the readme. @Tecnativa TT25619
Otherwise lookup is slow when there are many users.
Otherwise you can't delete a user.
This is cosmetic only, because this field is not used when auth_oauth_multi_token is installed.
…d user The user was looked up before calling super() and never again, so a user created by signup, or linked to its oauth uid by another module, during super() was refused with AccessDenied. Its master uuid was also set to False before super(), which core then wrote on the user. Look the user up again after super() when it was not found before, and only replace the access token by the master uuid of an existing user.
4425d09 to
8be4165
Compare
|
@fcvalgar you can check now |
fcvalgar
left a comment
There was a problem hiding this comment.
Great work on this migration! Thanks for your contribution.
The module has been functionally tested using a locally configured OAuth provider. The following tests were completed successfully:
Test 1: OK – OAuth authentication works correctly with the local provider.
Test 2: OK – Multiple simultaneous OAuth connections are supported for the same user.
Test 3: OK – The maximum number of simultaneous connections is respected.
Test 4: OK – Clearing OAuth tokens works correctly.
Everything works as expected in Odoo 20.0.
LGTM!
@moduon
MT-16738
please review @fcvalgar @EmilioPascual