Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Can't connect to GitLab OAuth

Discussion in 'Unity Build Automation' started by Magistr_AVSH, Apr 14, 2020.

  1. Magistr_AVSH

    Magistr_AVSH

    Joined:
    Jun 6, 2017
    Posts:
    6
  2. Devil_Inside

    Devil_Inside

    Joined:
    Nov 19, 2012
    Posts:
    1,117
    Experiencing the same thing with Bitbucket, probably not provider related.
     
  3. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    In general, if you experience this then just try again since it may take more than one attempt.

    With that said, I tested this out and it replicates reliably so I'm currently working on getting a hotfix for this issue ASAP.
     
  4. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    Hotfix for this issue has now been deployed, Bitbucket and Gitlab should now be working.

    (Note that there may be further work required to improve stability on the new unified dashboard - if you run into issues then please try using the legacy dashboard to configure your project)
     
    Devil_Inside likes this.
  5. Devil_Inside

    Devil_Inside

    Joined:
    Nov 19, 2012
    Posts:
    1,117
    Thank you for a prompt response!
     
  6. vvmichalk

    vvmichalk

    Joined:
    Mar 25, 2013
    Posts:
    6
    It still does not work.

    The cloud can't connect to existing repositories. I'm not able to build any of my projects.

    Various errors:

    - There was a problem authenticating against the Gitlab API!
    - An error occurred while loading the build targets for this project.
    - Unknown error.

    I can see tons of javascript errors in my browser's console when Unity validates the token from gitlab.
     
    IOU_RAY likes this.
  7. danielspeixoto

    danielspeixoto

    Joined:
    Feb 12, 2020
    Posts:
    3
    Same problem here.

    Any workaround?
     
  8. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    I'm going to keep an eye on this but this should be working just fine - just make sure that you have accepted Gitlab terms and conditions and etc (Gitlab seems to send the wrong response if it has to take more than one step to generate the Oauth token). If it fails when coming back to the developer dashboard then try again from scratch.