Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Karen_B
Partner - Contributor
Partner - Contributor

Sign into GitHub connector SSO

I'm trying to connect to the GitHub connector and am prompted for a username and password. My company uses SAML SSO for logging into GitHub enterprise so I don't enter a un:pw when I sign in to GH.  How can I connect my account to the GitHub connector?  I don't see any other sign-on options or options for a PAT. 

 

Thanks!

Labels (2)
1 Solution

Accepted Solutions
Andrew_Roy
Support
Support

The feedback I have is, since the GitHub connector uses OAuth2, it should work for an Enterprise account. There may not be "formal" support, but there is no reason that it shouldn't work, provided your internal IT can configure the authorize URL to github.xyz.com in the authentication process on your side.

We tried an internal Cloud app that requires SSO, username and password, and 2nd-factor authentication to the Qlik GitHub Enterprise account, which works. After authenticating with the IdP, the standalone GitHub web connector redirects to the GitHub sign in, where just the username is entered. Then it redirects to the connector, where we get the authentication token, which is then pasted back into the connector to complete the authentication. Your setup could use a similar flow.

Try signing in to your GitHub Enterprise account through a browser using SSO first, and then note what happens when trying to authenticate the connector in the same browser session. This could help your internal setup.

A different but more complicated option, depending on what you're trying to extract from GitHub, is to use the REST Connector instead. For the REST Connector, the PAT needs to also be configured for SSO access, which is an extra step in the GitHub configuration.

View solution in original post

5 Replies
Frank_S
Support
Support

Have a look a this.

Further, if you don't see a green dot in your connections, then your password may have changed and you need to update your password in github connector.

Also check with your IT team if none of the above apply.

..Kind regards

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Karen_B
Partner - Contributor
Partner - Contributor
Author

Hi Frank, 

I followed your link and tried to use a PAT as the password for my account. Unfortunately that did not work. 

Since my company uses Enterprise edition of GH and uses SSO to access GitHub, is this not supported by the Qlik connector?  

I can contact my IT dept, but wondering if others have connected to their Github Enterprise accounts?

Frank_S
Support
Support

I think you need to speak with your IT team at this point to double check with them.
It would be best to keep network access measures out of the realm of public conversations.

If necessary, I suggest that you start a Qlik support case.

Kind regards...
 

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Andrew_Roy
Support
Support

The following thread suggests that GitHub Enterprise was not supported in the past, and that development was a challenge:

https://community.qlik.com/t5/Connectivity-Data-Prep/GitHub-Enterprise/td-p/1446783

I have your Support case, and will look into whether the connector currently provides support.  However, this looks unlikely.  The authentication for this connector is based on the OAuth2 Protocol.  It appears to redirect only to the default github.com and not to any github.xyz.com Enterprise account.

https://community.qlik.com/t5/Knowledge/Github-How-to-get-started-with-Github-in-Automations/ta-p/18...

The Help documentation makes no mention of SSO or Enterprise:

https://help.qlik.com/en-US/cloud-services/Subsystems/Integrated_Web_Connectors_help/Content/Connect...

Andrew_Roy
Support
Support

The feedback I have is, since the GitHub connector uses OAuth2, it should work for an Enterprise account. There may not be "formal" support, but there is no reason that it shouldn't work, provided your internal IT can configure the authorize URL to github.xyz.com in the authentication process on your side.

We tried an internal Cloud app that requires SSO, username and password, and 2nd-factor authentication to the Qlik GitHub Enterprise account, which works. After authenticating with the IdP, the standalone GitHub web connector redirects to the GitHub sign in, where just the username is entered. Then it redirects to the connector, where we get the authentication token, which is then pasted back into the connector to complete the authentication. Your setup could use a similar flow.

Try signing in to your GitHub Enterprise account through a browser using SSO first, and then note what happens when trying to authenticate the connector in the same browser session. This could help your internal setup.

A different but more complicated option, depending on what you're trying to extract from GitHub, is to use the REST Connector instead. For the REST Connector, the PAT needs to also be configured for SSO access, which is an extra step in the GitHub configuration.