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 {