# Create github auth config with api

**URL:** https://forums.suse.com/t/create-github-auth-config-with-api/5532
**Category:** Rancher 1.x
**Created:** [February 15, 2017, 8:12am UTC](https://forums.suse.com/t/create-github-auth-config-with-api/5532 "2017-02-15T08:12:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jens\_Skott](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jens_skott/32/1091_2.png) [@Jens\_Skott](https://forums.suse.com/u/Jens_Skott)
#### Post date: [February 15, 2017, 8:12am UTC](https://forums.suse.com/t/create-github-auth-config-with-api/5532/1 "2017-02-15T08:12:59Z")

</div>

Can anyone point me in the right direction of the post i need to make to /v1-auth/config to configure a github auth access? Tried trough the old /v1/githubconfigs with a correct post but dosnt seem to work.

curl   
-X POST   
-H ‘Accept: application/json’   
-H ‘Content-Type: application/json’   
-d ‘{“accessMode”:“unrestricted”, “allowedIdentities”:[], “clientId”:“id”, “clientSecret”:“secret”, “enabled”:true, “name”:“githubconfig”, “scheme”:“https://”}’   
‘[http://localhost:8080/v1/githubconfigs](http://localhost:8080/v1/githubconfigs)’
