nikivi Posted May 15, 2018 Share Posted May 15, 2018 (edited) I have this workflow and inside it in a red Bash Run Script I want to send an HTTP request that needs as OAuth my GitHub username and password. I want to be able to share this workflow with other people and thus I don't want to put my GitHub credentials in the workflow. The request I need to send is this: https://developer.github.com/v3/repos/#delete-a-repository Actually I think I can get a GitHub OAuth token and save it in Alfred dirs somewhere and then use that but those Alfred directories always confused me. ? Edited May 15, 2018 by nikivi Link to comment
deanishe Posted May 15, 2018 Share Posted May 15, 2018 2 minutes ago, nikivi said: needs as OAuth my GitHub username and password Then you and/or the service you're using aren't doing OAuth properly. The whole point of OAuth is so you don't have to give random software your password. If you really do need username and password, then obviously you store them in Keychain. nikivi 1 Link to comment
deanishe Posted May 15, 2018 Share Posted May 15, 2018 If OAuth is too complicated for you, which it surely is if you don't understand Alfred's directories, you can create an access token on the GitHub website and use that instead. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now