You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to clone private repos with github app we need to generate JWT and sign get access token for the clone command
im happy to work on a PR, but would like some direction on how to implement (where do we generate the JWT/ how often etc)
The text was updated successfully, but these errors were encountered:
The generated token should only be valid as long as you need to access the API (seconds, not days), so I'd say it should be valid for a few minutes. Ideally, middleware should be written so that GitHub transport can check/generate a new token on the fly.
@Greyeye do you think its best to to just check in the clone function if the repo is private?
that would mean extending the repo struct to be aware of this property ?
in order to clone private repos with github app we need to generate JWT and sign get access token for the clone command
im happy to work on a PR, but would like some direction on how to implement (where do we generate the JWT/ how often etc)
The text was updated successfully, but these errors were encountered: