From b2d043a84f6c94394d75d42b3dbf5bebefed7f11 Mon Sep 17 00:00:00 2001 From: JCustin <52421105+JCustin@users.noreply.github.com> Date: Tue, 28 Jul 2020 13:25:53 -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 e704c9b..6235fd2 100644 --- a/pkg/op/authrequest.go +++ b/pkg/op/authrequest.go @@ -108,7 +108,7 @@ func ValidateAuthReqRedirectURI(ctx context.Context, uri, client_id string, resp if client.ApplicationType() == ApplicationTypeNative { return nil } - return ErrInvalidRequest("Unfortunately, this client's redirect_uri is private and is not allowed. If you have any questions, you may contact the administrator of the application at:") + return ErrInvalidRequest("Unfortunately, this client's redirect_uri is http and is not allowed. If you have any questions, you may contact the administrator of the application.") } else { if client.ApplicationType() != ApplicationTypeNative { return ErrInvalidRequestRedirectURI("Unfortunately, http is only allowed for native applications. Please change your redirect uri configuration and try again. If you have any questions, you may contact the administrator of the application.")