From d653ed7112e0f818b2778737691da7f8447609a6 Mon Sep 17 00:00:00 2001 From: JCustin <52421105+JCustin@users.noreply.github.com> Date: Tue, 28 Jul 2020 13:25:08 -0700 Subject: [PATCH] Update pkg/op/authrequest.go Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com> --- pkg/op/authrequest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/op/authrequest.go b/pkg/op/authrequest.go index 10d73e5..21921e9 100644 --- a/pkg/op/authrequest.go +++ b/pkg/op/authrequest.go @@ -96,7 +96,7 @@ func ValidateAuthReqRedirectURI(ctx context.Context, uri, client_id string, resp return ErrServerError(err.Error()) } if !utils.Contains(client.RedirectURIs(), uri) { - return ErrInvalidRequestRedirectURI("Unfortunately, the client's redirect_uri is missing. Please ensure your redirect_uri is complete and accurate, and try again. If you have any questions, you may contact the administrator of the application at:")//(Writer's note: This may not be correct. Please double check its accuracy.) + return ErrInvalidRequestRedirectURI("Unfortunately, the redirect_uri is missing in the client configuration. Please ensure your redirect_uri is added in the client configuration, and try again. If you have any questions, you may contact the administrator of the application.") } if strings.HasPrefix(uri, "https://") { return nil