This change would fix that by applying the same normalization to the generated URL.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/6676
**Author:** [@stefan0xC](https://github.com/stefan0xC)
**Created:** 1/6/2026
**Status:** ✅ Merged
**Merged:** 1/6/2026
**Merged by:** [@BlackDex](https://github.com/BlackDex)
**Base:** `main` ← **Head:** `improve-sso-callback-path`
---
### 📝 Commits (2)
- [`8f1a80b`](https://github.com/dani-garcia/vaultwarden/commit/8f1a80be8c0a8493fa9163afefd1f1981e4b75e9) normalize base_url for sso_callback_path
- [`7fdb4d4`](https://github.com/dani-garcia/vaultwarden/commit/7fdb4d433a86be7b7a25ae69043768bc03c079d4) clean url when embedding images
### 📊 Changes
**1 file changed** (+6 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `src/config.rs` (+6 -2)
</details>
### 📄 Description
Currently we remove a trailing slash after making the config:
https://github.com/dani-garcia/vaultwarden/blob/9f1df422595cdfb04b8aea6968ae52a434887abc/src/config.rs#L309
This means that the generated `sso_callback_path` is not yet normalized, which leads to some issues (e.g. https://github.com/dani-garcia/vaultwarden/issues/6180 or https://github.com/dani-garcia/vaultwarden/issues/6601).
This change would fix that by applying the same normalization to the generated URL.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6676
Author: @stefan0xC
Created: 1/6/2026
Status: ✅ Merged
Merged: 1/6/2026
Merged by: @BlackDex
Base:
main← Head:improve-sso-callback-path📝 Commits (2)
8f1a80bnormalize base_url for sso_callback_path7fdb4d4clean url when embedding images📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
src/config.rs(+6 -2)📄 Description
Currently we remove a trailing slash after making the config:
https://github.com/dani-garcia/vaultwarden/blob/9f1df422595cdfb04b8aea6968ae52a434887abc/src/config.rs#L309
This means that the generated
sso_callback_pathis not yet normalized, which leads to some issues (e.g. https://github.com/dani-garcia/vaultwarden/issues/6180 or https://github.com/dani-garcia/vaultwarden/issues/6601).This change would fix that by applying the same normalization to the generated URL.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.