Skip to content

Commit

Permalink
Merge pull request #4165 from nickmango/bug/docusign-user-creds
Browse files Browse the repository at this point in the history
Bug/Env Variables for Docusign
  • Loading branch information
nickmango authored Nov 13, 2023
2 parents b12f969 + 401df14 commit aef3870
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cla-backend-go/v2/sign/jwt.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ func jwtToken(docusignPrivateKey string) (string, error) {
}

claims := jwt.MapClaims{
"iss": utils.GetProperty("DOCUSIGN_INTEGRATION_KEY"), // integration key / client_id
"sub": utils.GetProperty("DOCUSIGN_INTEGRATION_USER_ID"), // user_id, in PROD should be the EasyCLA Admin user account
"aud": utils.GetProperty("DOCUSIGN_AUTH_SERVER"), // account.docusign.com or account-d.docusign.com (for dev)
"iss": utils.GetProperty("DOCUSIGN_INTEGRATOR_KEY"), // integration key / client_id
"sub": utils.GetProperty("DOCUSIGN_USER_ID"), // user_id, in PROD should be the EasyCLA Admin user account
"aud": utils.GetProperty("DOCUSIGN_AUTH_SERVER"), // account.docusign.com or account-d.docusign.com (for dev)
"iat": time.Now().Unix(),
"exp": time.Now().Add(time.Hour).Unix(), // one hour appears to be the max, minus 60 seconds
"scope": "signature impersonation",
Expand Down

0 comments on commit aef3870

Please sign in to comment.