Skip to content

[Bookworm] Android shortcuts to homescreen or pinned tabs are redirected to the user portal #2493

@nicofrand

Description

@nicofrand

Describe the bug

There are two cases where this happens:

  1. I have a shortcut on my android's homescreen to sub.domain.tld (managed by my yunohost, as well as domain.tld).
  2. I have a pinned tab to sub.domain.tld in my browser

Sometimes I need to authenticate, which is normal. Once authenticated I am redirected to domain.tld/sso/portal (or something like that) whereas I want to stay (or go back to) on sub.domain.tld. This is particularly important for webapps.

I then need to click on the app (in the user portal) I initially wanted, which is annoying.

This was not happening before Yunohost 12.

Context

  • Hardware: VPS bought online
  • YunoHost version: 12.0.7
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

To reproduce

Pin a tab, or add a shortcut to your homescreen, from a subdomain belonging to your Yunohost. Then wait for your session to expire, launch this shortcut/tab and authenticate.

Expected behavior

To remain on the URL I went to in the first place (before authentication).

Logs

I don't know what logs I should provide?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions