# How to get rid of SSO for a redirect app?

**URL:** https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148
**Category:** Support apps
**Tags:** redirect, english
**Created:** [February 1, 2025, 8:23pm UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148 "2025-02-01T20:23:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![khinsen](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/k/a88e4f/32.png) [@khinsen](https://forum.yunohost.org/u/khinsen)
#### Post date: [February 1, 2025, 8:23pm UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148/1 "2025-02-01T20:23:27Z")

</div>

**What type of hardware are you using** : VPS bought online  
**What YunoHost version are you running** : 12.0.11  
**What app is this about** : Redirect

### Describe your issue

I am running [Fossil](https://fossil-scm.org/) on my server via a Redirect app in YunoHost, giving it its own subdomain. And that worked fine for many weeks.

Last, week, I update YunoHost. And since then, syncing with my Fossil server fails because Fossil’s http requests to the subdomain get redirected to SSO. I have no idea why, but I’d like to get rid of it. In fact, I’d prefer to opt out of SSO completely for this Redirect app. I didn’t find any such option, so I tried editing the various config files, commenting out those that seemed to refer to SSO. No success.

There are various similar-looking questions in this forum, but none has an answer that makes sense to me.

### Share relevant logs or error messages

I get error messages from the Fossil client, not on the server. An example:

Sync with [https://fossil.mydomain.tld/yunohost/sso/](https://fossil.mydomain.tld/yunohost/sso/)  
server says: 405 Not Allowed

The https request was originally for [https://fossil.mydomain.tld/](https://fossil.mydomain.tld/)

---

<div class="post-metadata">

### Author: ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)
#### Post date: [February 1, 2025, 9:20pm UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148/2 "2025-02-01T21:20:06Z")

</div>

Check if the redirect app is allowed to visitors in the webadmin

---

<div class="post-metadata">

### Author: ![khinsen](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/k/a88e4f/32.png) [@khinsen](https://forum.yunohost.org/u/khinsen)
#### Post date: [February 2, 2025, 8:15am UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148/3 "2025-02-02T08:15:34Z")

</div>

Yes it does. And anyone can access the Fossil Web UI. It’s just syncing that gets redirected to SSO.

I don’t know which precise feature of sync is the problem. Fossil sync uses standard HTTP, but the access pattern is different. For example, sync starts doing a POST to initiate authentication.

---

<div class="post-metadata">

### Author: ![ChriChri](https://forum.yunohost.org/user_avatar/forum.yunohost.org/chrichri/32/8723_2.png) [@ChriChri](https://forum.yunohost.org/u/ChriChri)
#### Post date: [February 2, 2025, 11:40am UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148/4 "2025-02-02T11:40:15Z")

</div>

Look at your nginx logs, try to filter out all the requests used by your software to access the server by client IP. Those logs might contain a hint on what is going on.

In /etc/nginx/conf.d/ you can look at the configuration. The sso is included in the configuration. You can backup the files for your redirect app and try changing them to not contain sso. Before any changes get active you need to check your configuration by running `nginx -t` and the restart the service `systemctl reload nginx`.

To restore the original configuration files you can also use `yunohost tools regen-conf --help`.

---

<div class="post-metadata">

### Author: ![khinsen](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/k/a88e4f/32.png) [@khinsen](https://forum.yunohost.org/u/khinsen)
#### Post date: [February 10, 2025, 7:00pm UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148/5 "2025-02-10T19:00:34Z")

</div>

Thanks for all those hints. Their main immediate benefit for me was the reminder about backups. I had taken a backup of everything before updating. So I restored the backup for my redirect app - and everything worked again!

On one hand, this means that my problem is solved. On the other hand, I still have no idea what happened nor how I can prevent a similar issue in the future. I’ll keep a bookmark on this thread just in case…

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [February 25, 2025, 7:01pm UTC](https://forum.yunohost.org/t/how-to-get-rid-of-sso-for-a-redirect-app/35148/6 "2025-02-25T19:01:14Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
