Skip to content
Permalink
Browse files
forge: use /app/installations/ endpoint for GitHub access tokens
Reviewed-by: jvernee
  • Loading branch information
edvbld committed Jul 10, 2020
1 parent bc3e59b commit 17c058edf3f4cd51c733bc7df5c825598ae974ea
Showing 1 changed file with 1 addition and 1 deletion.
@@ -176,7 +176,7 @@ private String generateJsonWebToken() {
}

private String generateInstallationToken() throws Token.GeneratorError {
var tokens = URIBuilder.base(apiBase).setPath("/installations/" + id + "/access_tokens").build();
var tokens = URIBuilder.base(apiBase).setPath("/app/installations/" + id + "/access_tokens").build();

try {
var response = client.send(

1 comment on commit 17c058e

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 17c058e Jul 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.