-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bookworm] Android shortcuts to homescreen or pinned tabs are redirected to the user portal #2493
Comments
duplicate of #2474 |
@OniriCorpe #2474 is different. Here, my main domain is hosted on the same server. |
In {
[...]
"domain_portal_urls": {
"annonces.domain.tld": "domain.tld/yunohost/sso",
"blog.domain.tld": "domain.tld/yunohost/sso",
"cal.domain.tld": "domain.tld/yunohost/sso",
"code.domain.tld": "domain.tld/yunohost/sso",
"cv.domain.tld": "domain.tld/yunohost/sso",
"default": "/yunohost/admin",
"demo.domain.tld": "domain.tld/yunohost/sso",
"k.domain.tld": "domain.tld/yunohost/sso",
"mail.domain.tld": "domain.tld/yunohost/sso",
"matrix.domain.tld": "domain.tld/yunohost/sso",
"misc.domain.tld": "domain.tld/yunohost/sso",
"nc.domain.tld": "domain.tld/yunohost/sso",
"domain.tld": "domain.tld/yunohost/sso",
"office.domain.tld": "domain.tld/yunohost/sso",
"pix.domain.tld": "domain.tld/yunohost/sso",
"rss.domain.tld": "domain.tld/yunohost/sso",
"stats.domain.tld": "domain.tld/yunohost/sso",
"wb.domain.tld": "domain.tld/yunohost/sso"
},
[...]
} |
Editing Maybe the info can help solve the issue though? |
My previous answer is actually not the solution: while it seems to solve the issue when logged out, it breaks the behaviour when logged: the portal just displays a message saying there are no apps on this domain. |
Hello, I confirm I've the same issue. |
I confirm this issue also in android and I have something similar on desktop with searx : YunoHost-Apps/searxng_ynh#363 (comment) |
Describe the bug
There are two cases where this happens:
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
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?
The text was updated successfully, but these errors were encountered: