From aa52bd2e59ae1a4cfd8dd8ec0d86887000e05cb0 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 12 Feb 2024 01:06:01 -0500 Subject: [PATCH] fix: wrong signing method --- api/routes_app_installations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routes_app_installations.go b/api/routes_app_installations.go index f76d7c2..ce95154 100644 --- a/api/routes_app_installations.go +++ b/api/routes_app_installations.go @@ -67,7 +67,7 @@ func (a *appInstallApi) handlerAppGetAccessToken(w http.ResponseWriter, r *http. "exp": expirationTime, } - token := jwt.NewWithClaims(jwt.SigningMethodHS256, claims) + token := jwt.NewWithClaims(jwt.SigningMethodRS256, claims) signedToken, err := token.SignedString(privateKey) if err != nil {