Skip to content

[Bug]: Flatpak doesn't handle 401 status from server with OCI registry with anonymous requests block #6852

Description

@Rirusha

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.
  • If this is an issue with a particular app, I have tried filing it in the appropriate issue tracker for the app (e.g. under https://github.com/flathub/) and determined that it is an issue with Flatpak itself.
  • This issue is not a report of a security vulnerability (see here if you need to report a security issue).

Flatpak version

1.18.2

What Linux distribution are you using?

Other (specify below)

Linux distribution version

ALT Atomic Onyx Nightly 19.09.2026 Nightly

What architecture are you using?

x86_64

How to reproduce

  1. Apply this patch to forgejo instance
  2. Upload oci flatpak runtime/application to public registry
  3. Add remote to flatpak
  4. flatpak remote-info my-remote org.example.MyApp
  5. Got Server returned status 401

Expected Behavior

Flatpak requests token (what it did on install/update/.. commands

Actual Behavior

Flatpak just got 401 status code

Additional Information

No response

Activity

  1. changed the title [-][Bug]: Server returned status 401 with OCI registry with anonymous requests block[/-] [+][Bug]: Flatpak doesn'y handle 401 status from server with OCI registry with anonymous requests block[/+] on Sep 23, 2026
  2. changed the title [-][Bug]: Flatpak doesn'y handle 401 status from server with OCI registry with anonymous requests block[/-] [+][Bug]: Flatpak doesn't handle 401 status from server with OCI registry with anonymous requests block[/+] on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions