# SAML single sign on github integration

**URL:** <https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506>\
**Category:** Question & Answer\
**Created:** [April 19, 2017, 4:23pm UTC](https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506 "2017-04-19T16:23:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davidcm](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@Davidcm](https://discuss.bitrise.io/u/Davidcm)\
**Post date:** [April 19, 2017, 4:23pm UTC](https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506/1 "2017-04-19T16:23:14Z")

</div>

Hey we recently enabled SAML single sign on for github and as such can only grant https access with a personal token, how do we integrate bitrise with github in this case.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [April 19, 2017, 5:01pm UTC](https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506/2 "2017-04-19T17:01:44Z")

</div>

Hi @Davidcm,

Thanks for asking this here! 😉

> [@Davidcm](#):
>
> as such can only grant https access with a personal token

Is there any way to use an SSH key?  
Personal access token over HTTPS is also possible, using the new **Authenticate host with netrc** step ([Authenticate host with netrc v0.9.0](http://discuss.bitrise.io/t/authenticate-host-with-netrc-v0-9-0/1476)), but we don’t have a tutorial for it yet.

@tamaspapik is working on a tutorial, but was a bit delayed due to works on other steps. If you’re interested I’m sure he’s happy to share a quick step-by-step, as soon as he can get back to work (just finished his workday today).

---

<div class="post-metadata">

**Author:** ![Davidcm](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@Davidcm](https://discuss.bitrise.io/u/Davidcm)\
**Post date:** [April 20, 2017, 10:33am UTC](https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506/3 "2017-04-20T10:33:26Z")

</div>

@tamaspapik

Hey, so i tried getting this step up and running last night, but i’m running into some trouble getting the clone step to authenticate. Would it be possible to run through the process when you have a minute?

---

<div class="post-metadata">

**Author:** ![Davidcm](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@Davidcm](https://discuss.bitrise.io/u/Davidcm)\
**Post date:** [April 20, 2017, 11:32am UTC](https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506/4 "2017-04-20T11:32:48Z")

</div>

So it actually works perfectly, i was just trying to build a closed PR and getting an authentication error. Thanks for the help @tamaspapik

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [April 20, 2017, 11:33am UTC](https://discuss.bitrise.io/t/saml-single-sign-on-github-integration/1506/5 "2017-04-20T11:33:27Z")

</div>

Okay, so good to hear the issue is solved. Thank you for your patience @Davidcm!

At the same time a new step **Authenticate with GitHub OAuth** is released as well, so using the new step you won’t need to input host at all.

Thank you! 🎉🚀
