Merge branch 'main' of github.com:zitadel/oidc into zitadel-main
This commit is contained in:
commit
fdefbf61da
3 changed files with 10 additions and 5 deletions
|
@ -314,6 +314,9 @@ func validateAuthReqRedirectURINative(client Client, uri string, responseType oi
|
|||
parsedURL, isLoopback := HTTPLoopbackOrLocalhost(uri)
|
||||
isCustomSchema := !strings.HasPrefix(uri, "http://")
|
||||
if str.Contains(client.RedirectURIs(), uri) {
|
||||
if client.DevMode() {
|
||||
return nil
|
||||
}
|
||||
if isLoopback || isCustomSchema {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue