Are apps installed through Github links not allowed to be default apps run on /

I’ve been trying to have riot installed as a default app on chat.domain.tld but it always redirects me to login to my yunohost at host.domain.tld I’ve tried changing the path location / and i’ve tried leaving it at /riot and clicking on Default so the ssowat is updated but it still redirects me host.domain.tld when i go to chat.domain.tld