Skip to content

Commit

Permalink
log the token
Browse files Browse the repository at this point in the history
  • Loading branch information
kailashchoudhary11 committed Jul 5, 2024
1 parent f5aa630 commit 6b6b911
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func Webhook(w http.ResponseWriter, r *http.Request) {
fmt.Println("Inside webhook")
clientId := os.Getenv("CLIENT_ID")
jwtToken, err := services.GenerateJWTForApp(clientId, "repository-guard.2024-07-02.private-key.pem")
fmt.Println("The token is", jwtToken)
if err != nil {
fmt.Println("Error: ", err)
return
Expand Down

0 comments on commit 6b6b911

Please sign in to comment.