Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
kduchrow
Partner - Contributor II
Partner - Contributor II

Application Automation connect to company GitLab

Hi, 

currently, I trying to connect our company Gitlab to Qlik Application Automation.

First of all, it looks like, there is a typo in the UI for connecting to the Gitlab instance:

kduchrow_0-1648804304385.png

Secondly, I am struggling with the authentication to GitLab. As in the Setup mentioned I created an Application on the GitLab instance but I have no clue where to get the Callback URL from. 

kduchrow_1-1648804846020.png

I already tried different URLs like "https://[tenantURL].qlikcloud.com/login/callback" or "https://[tenantURL].qlikcloud.com/auth0/callback" but nothing really works. 
There is always these error message while linking the connection: 

An error has occurred

The redirect URI included is not valid.

Does someone know which URI I need to enter here or where do I get this from? 
Maybe this should also be explained within the Setup of the Gitlab Connection.

Thanks in advance

 

Labels (4)
1 Solution

Accepted Solutions
MarkGeurtsen
Support
Support

Can you use the value https://connector.qlikcloud.com/callback and let me know if it works? I will update the Setup article for the connector to have this included.

View solution in original post

10 Replies
MarkGeurtsen
Support
Support

Can you use the value https://connector.qlikcloud.com/callback and let me know if it works? I will update the Setup article for the connector to have this included.

kduchrow
Partner - Contributor II
Partner - Contributor II
Author

Hi, 

thank you for your Answer !
Unfortunately, this hint did not fix the problem completely. 
But, there is a new error Message: 

An error has occurred

The requested scope is invalid, unknown, or malformed.

 

Maybe I should respect the tenant URL?

MarkGeurtsen
Support
Support

That would appear to be an issue with the scopes being provided. When you configured an app in the Gitlab platform, which scopes were you able to assign?

The scopes that we are requesting in our authorize request are the following:  api read_user read_api read_repository write_repository read_registry write_registry openid profile email.

 

kduchrow
Partner - Contributor II
Partner - Contributor II
Author

Oh ok, yes this could be a problem. Basically, I'm able to assign every scope, but usually, I would like only read access for App Automation on GitLab.

Are some of them obligatory for App Automation? 
This is my current configuration: 

kduchrow_0-1649066121296.png

Thank you !

MarkGeurtsen
Support
Support

At this point we do unfortunately not have a solution to modify the scope requests.

kduchrow
Partner - Contributor II
Partner - Contributor II
Author

Nice, thank you for your hints! The connection works!
I added some more Scopes. Here it would be nice to be able to restrict the Application only to read access.  This could also be absolutely necessary for productive use. But for my testing, it's ok for now.

JyotiChoudhary_S
Contributor
Contributor

After clicking on authorize, Its giving error saying something went wrong during authorization. see the below image

JyotiChoudhary_S_0-1680084880943.png

 

AfeefaTk
Support
Support

Hi @JyotiChoudhary_S 

Are you sure that you have provided valid credentials while connecting to Gitlab and selected all the scopes apart from sudo scope in your app?

https://community.qlik.com/t5/Official-Support-Articles/Getting-started-with-the-GitLab-connector-in...

If yes, could you please share the connection guid to further look into our logs to see what's going wrong.

Please find instructions on how to extract connection guid in the below article:

Follow the section "Connection Run ID
https://community.qlik.com/t5/Official-Support-Articles/Troubleshooting-Qlik-Application-Automation/...

Thanks