From 9c8698da5640c5655f5ed0f361d05e1525719f81 Mon Sep 17 00:00:00 2001 From: JCustin <52421105+JCustin@users.noreply.github.com> Date: Tue, 28 Jul 2020 13:24:48 -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 9405c94..a722c5e 100644 --- a/pkg/op/authrequest.go +++ b/pkg/op/authrequest.go @@ -79,7 +79,7 @@ func ValidateAuthRequest(ctx context.Context, authReq *oidc.AuthRequest, storage func ValidateAuthReqScopes(scopes []string) error { if len(scopes) == 0 { - return ErrInvalidRequest("Unforuntately, the scope of your request is missing. Please ensure your scope value is not 0, and try again. If you have any questions, you may contact the administrator of the application at:") + return ErrInvalidRequest("Unforuntately, the scope of your request is missing. Please ensure your scope value is not 0, and try again. If you have any questions, you may contact the administrator of the application.") } if !utils.Contains(scopes, oidc.ScopeOpenID) { return ErrInvalidRequest)("Unfortunately, the scope openid of your request is missing. Please ensure your scope openid is complete and accurate, and try again. If you have any questions, you may contact the administrator of the application at:")