fix: cleanup oauth provider redirect url

This commit is contained in:
Stavros
2026-06-21 20:54:53 +03:00
parent 8a8426c705
commit 76aebc5728
3 changed files with 25 additions and 14 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ func (controller *OAuthController) isRedirectSafe(redirectURI string) bool {
return false
}
if strings.EqualFold(u.Host, au.Host) {
if strings.EqualFold(u.Hostname(), au.Hostname()) {
return true
}