Skip to content

On the git master - I cannot login to the WebUI anymore #19396

@mmohring

Description

@mmohring

Issue Description

When I update my OBS instance from:
git commit 1b0d5ab
to:
git commit 5c57d1b

I cannot login with my users anymore from the WebUI
I can still use the api and command line tool osc

Expected Result

I should be able to login

How to Reproduce

  1. click on login in the WebUI
  2. select a user from the Webbrowers, stored
  3. click on "Login In"
  4. https://<myobshost>/session returns: 403

Further Information

From the production.log logfile:

W, [2026-03-05T14:28:33.476169 #18796] WARN -- : [08f57bf2-d91f-4a26-a53a-b2957e489e60] Can't verify CSRF token authenticity.
I, [2026-03-05T14:28:33.479529 #18796] INFO -- : [08f57bf2-d91f-4a26-a53a-b2957e489e60] method=POST path=/session format=html controller=Webui::SessionController action=create status=403 allocations=1272 duration=11.70 view=0.00 db=1.10 params={"authenticity_token" => "[FILTERED]", "username" => "MartinMohring", "password" => "[FILTERED]", "commit" => "Log In"} host=192.168.0.32 backend=0 user=nobody bot=false
F, [2026-03-05T14:28:33.485682 #18796] FATAL -- : [08f57bf2-d91f-4a26-a53a-b2957e489e60]
[08f57bf2-d91f-4a26-a53a-b2957e489e60] ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
[08f57bf2-d91f-4a26-a53a-b2957e489e60]
[08f57bf2-d91f-4a26-a53a-b2957e489e60] app/controllers/webui/webui_controller.rb:45:in 'Webui::WebuiController#handle_unverified_request'
[08f57bf2-d91f-4a26-a53a-b2957e489e60] config/initializers/prefer_xml_over_html.rb:15:in 'PreferXmlOverHtml#call'

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackages 📦Things regarding our RPM packages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions