spr init now authenticates using the spr OAuth app see #221
However this must be authorised for use with my organisation:
🛑 Getting github repo info
caused by: GitHub
caused by: Although you appear to have the correct authorization credentials, the `mycorp`
organization has enabled OAuth App access restrictions, meaning that data access to third-parties
is limited. For more information on these restrictions, including how to enable this app, visit
https://docs.github.com/articles/restricting-access-to-your-organization-s-data/
Documentation URL: https://docs.github.com/rest/repos/repos#get-a-repository
Is it possible to provide my own token to spr init?
eg:
GITHUB_TOKEN=$(gh auth token) spr init
spr initnow authenticates using the spr OAuth app see #221However this must be authorised for use with my organisation:
Is it possible to provide my own token to
spr init?eg: