# vault auth -method=github token=<redacted>
Error making API request.
URL: PUT https://127.0.0.1:8200/v1/auth/github/login
Code: 500. Errors:
* GET https://api.github.com/user: 401 Bad credentials []
vault write auth/github/config organization=my_orgvault write auth/github/config base_url=github.example.com
vault write auth/github/map/teams/Owners value=root
vault auth -method=github token=c1d344c1af859ab65f668afbb241f2940102d458--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/f2ec017d-0657-43dd-804d-c4eeb3029337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# vault write auth/github/config organization=my_orgSuccess! Data written to: auth/github/config
# vault write auth/github/config base_url=github.example.comSuccess! Data written to: auth/github/config
# vault write auth/github/map/teams/Owners value=rootSuccess! Data written to: auth/github/map/teams/Owners
# vault auth -method=github token=c1d344c1af859ab65f668afbb241f2940102d458Code: 400. Errors:
* configure the github credential backend firstTo view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/b46ac348-9985-4990-aa88-b22bab740b03%40googlegroups.com.
# vault auth -method=github token=c1d344c1af859ab65f668afbb241f2940102d458Error making API request.
Code: 500. Errors:
* Get /user: unsupported protocol scheme ""To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/6984bc36-748f-4bfc-982d-b0edf84a3d98%40googlegroups.com.
* invalid character '<' looking for beginning of value
# vault write auth/github/config organization=my_org base_url='https://github.example.com'