Commit 84b6125
[FIX] auth_saml: Fix KeyError using auth_oauth module. (OCA#149)
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 KeyError1 parent 2284cc6 commit 84b6125
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
0 commit comments