fix: wrong signing method

This commit is contained in:
Derrick Hammer 2024-02-12 01:06:01 -05:00
parent 41b25abaaf
commit aa52bd2e59
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {