[12.0][MIG] auth_saml - #64
Conversation
|
@probabble @alexey-pelykh you can now review this one. |
|
caution: PR is hot from the oven, and not tested yet with a real SAML server. The code installs, the views display AFAICT. I'll be testing soon to assert if this works, but I need to get my hands on my customer's sysadmin 😸 In the meanwhile if you are able to test this in real, I'll be more than happy |
8a89b9b to
e0a4ac5
Compare
e0a4ac5 to
f2b9511
Compare
|
Testing the auth_saml in v12 :) |
|
Have anyone succeeded in making this module work on a v12 ? |
yajo
left a comment
There was a problem hiding this comment.
Lots of things to fix/improve.
Also, rebase to fix conflicts please.
Thanks for your contribution!
There was a problem hiding this comment.
Lots of things to fix/improve.
Also:
- Include newer history from 11.0 branch: https://github.com/OCA/server-auth/commits/11.0/auth_saml
- rebase to fix conflicts please.
Thanks for your contribution!
[IMP] Cleanup
The following line of code for 11.0: - https://github.com/odoo/odoo/blob/52d6f0e3ee90874fc93fec9cdff74ec71d3b991f/addons/auth_oauth/controllers/main.py#L69 is assigning the key "auth_link" for "list_providers" method. The following template is expecting this key: - https://github.com/odoo/odoo/blob/52d6f0e3ee90874fc93fec9cdff74ec71d3b991f/addons/auth_oauth/views/auth_oauth_templates.xml#L5 So, it raise a KeyError compiling "template_auth_oauth_providers_N" This change is fixing adding that expected key in order to avoid this KeyError
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-auth-11.0/server-auth-11.0-auth_saml Translate-URL: https://translation.odoo-community.org/projects/server-auth-11-0/server-auth-11-0-auth_saml/
[FIX] dependencies
add requirement on lasso
f2b9511 to
b9a6ae3
Compare
b9a6ae3 to
a8d71a0
Compare
Tardo
left a comment
There was a problem hiding this comment.
Looks good! only few comments....
4ebd488 to
b6da85c
Compare
0d47788 to
afdb38a
Compare
gurneyalex
left a comment
There was a problem hiding this comment.
approved --but can't self approve --
code review, no test
|
@yajo, please check Travis |
afdb38a to
668c2db
Compare
- Default behavior is now to allow password and SAML together. Otherwise, users could keep getting their passwords removed without warning. - General cleanup. - Remove relations to field `password_crypt` because in v12 the `password` field is always encrypted instead. Co-Authored-By: Alexandre Díaz <alexandre.diaz@tecnativa.com>
668c2db to
f56b4bd
Compare
|
All green now. |
|
/ocabot merge |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at d463522. Thanks a lot for contributing to OCA. ❤️ |
|
i am new here and i found and error in auth_saml.py,line 50 lasso.Server |
|
@NuevaIT-ext1 you need to install the "Free Liberty Alliance Implementation" https://lasso.entrouvert.org/ |
Syncing from upstream OCA/server-auth (12.0)
No description provided.