diff --git a/pom.xml b/pom.xml
index 7e75dd24..84aa2055 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
com.github.checkmarx-ltd
cx-spring-boot-sdk
- 0.4.63
+ 0.4.64
cx-spring-boot-sdk
Checkmarx Java Spring Boot SDK
diff --git a/src/main/java/com/checkmarx/sdk/service/CxRepoFileService.java b/src/main/java/com/checkmarx/sdk/service/CxRepoFileService.java
index 08595129..9ee73c48 100644
--- a/src/main/java/com/checkmarx/sdk/service/CxRepoFileService.java
+++ b/src/main/java/com/checkmarx/sdk/service/CxRepoFileService.java
@@ -55,7 +55,7 @@ public String prepareRepoFile(CxScanParams params) throws CheckmarxException {
log.debug("Using gitlab clone");
token = token.replace("oauth2:","");
gitURL = gitURL.replace(uri.getUserInfo(), "gitlab-ci-token:".concat(token));
- credentialsProvider = new UsernamePasswordCredentialsProvider("user", token);
+ credentialsProvider = new UsernamePasswordCredentialsProvider("oauth2", token);
}
else if(token.contains(":")){
String[] userDetails = token.split(":");