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
Is there a way to retrieve the github credentials in php? I am working on a news aggregator theme and it requires git-it-write so it would be better if I could just retrieve the github credentials programmatically instead of asking the user to enter them into a separate settings page.
The text was updated successfully, but these errors were encountered:
AFAIK, the access token must be manually created by the user and that access token must be entered in the settings page.
Please do check Github REST API and documentation to see if any shortcut is possible.
Previously Git it write did not accept any username and access token and later to support private repositories this feature was added. As I remember username and access token are not needed for public repositories. The open access has some restrictions too. But you can give it a try without any username and access token and see if it works for you. You need to comment the below line for now. https://plugins.trac.wordpress.org/browser/git-it-write/trunk/includes/repository.php#L35
Is there a way to retrieve the github credentials in php? I am working on a news aggregator theme and it requires git-it-write so it would be better if I could just retrieve the github credentials programmatically instead of asking the user to enter them into a separate settings page.
The text was updated successfully, but these errors were encountered: