YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 42 forks source link

Invalid SSO integration with secondary domain #68

Open xoddark opened 3 years ago

xoddark commented 3 years ago

Describe the bug

With multiple domain managed by YunoHost, ynh integration isn't valid in my_webapp.

Context

Steps to reproduce

Expected behavior

For independant domain, ynh js and css shouldn't be integrated or resource should be available An option to choose should also be good.

tituspijean commented 2 years ago

I cannot replicate this issue. Is it still present in your server?

BTW, are you from the future? Current YunoHost version is 4.3.4. 😛

xoddark commented 2 years ago

Yes it's still present with 4.3.6 I have update the version (it was probably 4.2.8.1)

If I tried to access to https://secondary-domain.ynh/ynh_portal.js directly in browser I have a error 404. But if I change to https://primary-domain.ynh/ynh_portal.js it's ok.

Note : https://primary-domain.ynh need authentication but https://secondary-domain.ynh is accessible without authentication.