Skip to content

Commit

Permalink
fix: remove bracket (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
hifabienne authored Jul 29, 2020
1 parent 665cfb3 commit 3507057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/op/authrequest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3507057

Please sign in to comment.