Title: Support a way to only generate access tokens from installation · Issue #48 · spotify/github-java-client · GitHub
Open Graph Title: Support a way to only generate access tokens from installation · Issue #48 · spotify/github-java-client
X Title: Support a way to only generate access tokens from installation · Issue #48 · spotify/github-java-client
Description: Hi, i'm playing with a use case in which i need to get an access token from a github application (appid and installation id), this access token is used to clone a repo, so i don't really need any more actions to be done on the github api...
Open Graph Description: Hi, i'm playing with a use case in which i need to get an access token from a github application (appid and installation id), this access token is used to clone a repo, so i don't really need any m...
X Description: Hi, i'm playing with a use case in which i need to get an access token from a github application (appid and installation id), this access token is used to clone a repo, so i don't really ne...
Opengraph URL: https://github.com/spotify/github-java-client/issues/48
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support a way to only generate access tokens from installation","articleBody":"Hi, i'm playing with a use case in which i need to get an access token from a github application (appid and installation id), this access token is used to clone a repo, so i don't really need any more actions to be done on the github api (Besides getting the access token), i would really like to use this library for that purpose, is it possible?\r\nI tried the following:\r\n\r\n```\r\nGitHubClient hubClient = GitHubClient.create(\r\n URI.create(GITHUB_ENDPOINT),\r\n new File(pemLocation),\r\n applicationId,\r\n installationId\r\n);\r\n\r\nSearchClient searchClient = hubClient.createSearchClient();\r\nsearchClient.users(ImmutableSearchParameters.builder().q(\"dumbdumb\").build());\r\n\r\nOptional\u003cString\u003e accessToken = hubClient.getAccessToken();\r\n```\r\n\r\nBut the access token doesn't get populated","author":{"url":"https://github.com/patricioperezv","@type":"Person","name":"patricioperezv"},"datePublished":"2020-12-24T01:22:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/48/github-java-client/issues/48"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef670d63-9f27-ac30-406a-7af539060ec1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A350:3B0786:F56DCC:141F1DE:6976F410 |
| html-safe-nonce | 9b12d4f714b5a45abd0397f30cea14f983a2874e9491f09f54bb311576372772 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzUwOjNCMDc4NjpGNTZEQ0M6MTQxRjFERTo2OTc2RjQxMCIsInZpc2l0b3JfaWQiOiIxMTIxMDcwOTAwNzg3NDc1NDcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4ceb8a8c9f51ef705c7394badfab63a2099c26c097095e79aaefdfc3f6b498a6 |
| hovercard-subject-tag | issue:774121148 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/spotify/github-java-client/48/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b94b78e3566f82e69ba5f5f327c1ca6d2304a0afaa77c7d17c9fd11d47ad2102/spotify/github-java-client/issues/48 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b94b78e3566f82e69ba5f5f327c1ca6d2304a0afaa77c7d17c9fd11d47ad2102/spotify/github-java-client/issues/48 |
| og:image:alt | Hi, i'm playing with a use case in which i need to get an access token from a github application (appid and installation id), this access token is used to clone a repo, so i don't really need any m... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | patricioperezv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/spotify/github-java-client git https://github.com/spotify/github-java-client.git |
| octolytics-dimension-user_id | 251374 |
| octolytics-dimension-user_login | spotify |
| octolytics-dimension-repository_id | 254401089 |
| octolytics-dimension-repository_nwo | spotify/github-java-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 254401089 |
| octolytics-dimension-repository_network_root_nwo | spotify/github-java-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width