Skip to content

Comments

Fork Sync Branch 18.0#49

Merged
btl-bot merged 6 commits intoBTLzdravtech:18.0from
OCA:18.0
Sep 25, 2025
Merged

Fork Sync Branch 18.0#49
btl-bot merged 6 commits intoBTLzdravtech:18.0from
OCA:18.0

Conversation

@btl-bot
Copy link

@btl-bot btl-bot commented Sep 25, 2025

No description provided.

gurneyalex and others added 6 commits August 25, 2025 16:48
On Office365, what you get when configuring an application for SAML
authentication is the URL of the federation metadata document. This URL
is stable, but the content of the document is not. I suspect some of the
encryption keys can be updated / renewed over time. The result is that
the configured provider in Odoo suddenly stops working, because the
messages sent by the Office365 provider can no longer be validated by
Odoo (because the federation document is out of date). Downloading the
new version and updating the auth.saml.provider record fixes the issue.

This PR adds a new field to store the URL of the metadata document. When
this field is set on a provider, you get a button next to it in the form
view to download the document from the URL. The button will not update
the document if it has not changed.

Additionally, when a SignatureError happens, we check if downloading the
document again fixes the issue.
Fix logic of SELECT FOR UDPDATE to only lock records whose metadata will
be updated
Signed-off-by StefanRijnhart
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-auth-18.0/server-auth-18.0-auth_saml
Translate-URL: https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-auth_saml/
Copy link

@sireko sireko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto approved

@btl-bot btl-bot merged commit 3c6b381 into BTLzdravtech:18.0 Sep 25, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants