From 3507057c66101cc0232d175a3b9c7cce99c8755f Mon Sep 17 00:00:00 2001 From: Fabi <38692350+fgerschwiler@users.noreply.github.com> Date: Wed, 29 Jul 2020 09:01:13 +0200 Subject: [PATCH] fix: remove bracket (#40) --- 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 7e16288..9eb6504 100644 --- a/pkg/op/authrequest.go +++ b/pkg/op/authrequest.go @@ -82,7 +82,7 @@ func ValidateAuthReqScopes(scopes []string) error { 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.") + 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.") } return nil }