(uri string, allowedURIs []string)
| 160 | } |
| 161 | |
| 162 | func validateRedirectURI(uri string, allowedURIs []string) bool { |
| 163 | return slices.Contains(allowedURIs, uri) |
| 164 | } |
| 165 | |
| 166 | func isLocalhostURI(uri string) bool { |
| 167 | parsed, err := url.Parse(uri) |
no outgoing calls
no test coverage detected