Skip to content

Add csrf#230

Open
pwalczysko wants to merge 2 commits into
ome:masterfrom
pwalczysko:csrf
Open

Add csrf#230
pwalczysko wants to merge 2 commits into
ome:masterfrom
pwalczysko:csrf

Conversation

@pwalczysko

Copy link
Copy Markdown
Member

Add csrf config omero-web to prevent error in webclient after login.

Otherwise, the CSRF trusted origins error in browser appears.

cc @will-moore @jburel

@pwalczysko
pwalczysko requested review from jburel and will-moore July 10, 2026 11:15
Comment thread home/jobs/OMERO-web/config.xml Outdated

# CSRF
# omero config set omero.web.csrf_trusted_origins '["https://YOURSERVER"]'
omero config set omero.web.csrf_trusted_origins '["https://merge-ci.openmicroscopy.org"]'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you need to use " when configuring the job.
Check how the rest of the job is configured

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thank you. Fixed in 42901fb

@pwalczysko
pwalczysko requested a review from jburel July 14, 2026 10:50
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.

2 participants