diff --git a/modules/orionode/lib/git/credentials.js b/modules/orionode/lib/git/credentials.js
index <HASH>..<HASH> 100644
--- a/modules/orionode/lib/git/credentials.js
+++ b/modules/orionode/lib/git/credentials.js
@@ -10,9 +10,13 @@
  *******************************************************************************/
 /*eslint-env node */
 var git = require('nodegit');
+var url = require('url');
 
 module.exports = {};
 
+var GITLAB = "gitlab.com";
+var OAUTH2 = "oauth2";
+
 var tokenProviders = [];
 
 module.exports.addTokenProvider = function(value) {
@@ -46,7 +50,8 @@ module.exports.getCredentials = function(uri, user) {
 				function(result) {
 					if (++doneCount <= tokenProviders.length) {
 						doneCount = tokenProviders.length;
-						fulfill(git.Cred.userpassPlaintextNew(result, result));
+						var username = url.parse(uri).host.toLowerCase() === GITLAB ? OAUTH2 : result;
+						fulfill(git.Cred.userpassPlaintextNew(username, result));
 					}
 				},
 				function(error) {
org-ids/web-ide-issues#<I>: add Orion support for the new GitLab.com tile