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
Let's talk about authentication in general. I was thinking to introduce a prompt to ask about authentication if the --octoherd-token CLI argument is not passed.
In that prompt, we can utilize octokit-auth-netrc to check if it finds a token and suggests that as an option.
Add option to authenticate using a GitHub app, either by entering App ID and Private Key or by using the GitHub App Manifest Flow to create a GitHub App. If we support GitHub App authentication we need to update the way we iterate through repositories
Question: should we keep a session / multiple sessions, similar to other CLIs such as npm or gh. We could introduce octoherd login and run scripts using octoherd run. I haven't done this before though, so I wonder what the conventions and security considerations are here. I'd also like to keep Deno compatibility in mind, see Use Deno #5
With the recent introduction of support for GHES domains, octokit-auth-netrc will need to be updated to also support custom domains. I have opened a PR to support GHES domain in the netrc plugin: travi/octokit-auth-netrc#608
i'll try to get a PR together sometime soon to make this possible with octokit-auth-netrc
The text was updated successfully, but these errors were encountered: