authenticate: remove authorize url validate check (#790)

* authenticate: remove authorize url validate check

* fix test
This commit is contained in:
Caleb Doxsey 2020-05-27 09:23:22 -06:00 committed by GitHub
parent f6114c288a
commit 12d90a021c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

View file

@ -55,9 +55,6 @@ func ValidateOptions(o config.Options) error {
if o.AuthenticateCallbackPath == "" {
return errors.New("authenticate: 'AUTHENTICATE_CALLBACK_PATH' is required")
}
if err := urlutil.ValidateURL(o.AuthorizeURL); err != nil {
return fmt.Errorf("authenticate: invalid 'AUTHORIZE_SERVICE_URL': %w", err)
}
return nil
}