mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
fix: trim whitespaces in redirect, post and origins uris set through console (#7334)
* fix: trim whitespaces in redirect, postlogout and origins uris set through console * fix: add @livio-a review suggestions
This commit is contained in:
@@ -141,7 +141,7 @@ func (a *OIDCApp) IsValid() bool {
|
||||
|
||||
func (a *OIDCApp) OriginsValid() bool {
|
||||
for _, origin := range a.AdditionalOrigins {
|
||||
if !http_util.IsOrigin(origin) {
|
||||
if !http_util.IsOrigin(strings.TrimSpace(origin)) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user