# Git Authentication Issue After YunoHost 11 to 12 Migration

**URL:** https://forum.yunohost.org/t/git-authentication-issue-after-yunohost-11-to-12-migration/32228
**Category:** Support apps
**Tags:** migration, gitlab, bug, french
**Created:** [November 25, 2024, 11:21pm UTC](https://forum.yunohost.org/t/git-authentication-issue-after-yunohost-11-to-12-migration/32228 "2024-11-25T23:21:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![astrowalker2013](https://forum.yunohost.org/user_avatar/forum.yunohost.org/astrowalker2013/32/1544_2.png) [@astrowalker2013](https://forum.yunohost.org/u/astrowalker2013)
#### Post date: [November 25, 2024, 11:21pm UTC](https://forum.yunohost.org/t/git-authentication-issue-after-yunohost-11-to-12-migration/32228/1 "2024-11-25T23:21:01Z")

</div>

**What type of hardware are you using** : Virtual machine  
**What YunoHost version are you running** : 12.0.7  
**What app is this about** : Gitlab

### Describe your issue

English :  
Problem Description  
Since migrating from YunoHost 11 to YunoHost 12, all Git operations (clone/pull/push) fail with an authentication error, although GitLab web interface connection via YunoHost SSO works correctly.

Environment  
Original YunoHost version: 11  
New YunoHost version: 12  
Authentication type: HTTPS with YunoHost SSO  
GitLab web interface: Working  
Git operations: Not working  
Current Behavior  
GitLab web interface connection via YunoHost SSO works perfectly  
All Git operations (clone/pull/push) fail with the following error:  
awk

Copier  
remote:`HTTP Basic: Access denied. If a password was provided for Git authentication, the password was incorrect or you're required to use a token instead of a password. If a token was provided, it was either incorrect, expired, or improperly scoped. fatal: Authentication failed for 'https://domain.tld/gitlab/project/repo.git/'`  
Expected Behavior  
Authentication via YunoHost SSO should work for all Git operations  
Git clone/pull/push operations should work normally as before the migration  
Additional Information  
The issue appeared immediately after migration to YunoHost 12  
Authentication through GitLab web interface works normally  
The issue affects all Git operations on all repositories  
YunoHost SSO credentials are correct and work for the web interface  
Debugging Questions  
Were there any changes in Git authentication handling between YunoHost 11 and 12?  
Have other users encountered similar issues after migration?

FRANCAIS:  
Depuis la migration de YunoHost 11 vers YunoHost 12, toutes les opérations Git (clone/pull/push) échouent avec une erreur d’authentification, bien que la connexion à l’interface web GitLab via SSO YunoHost fonctionne correctement.

Environnement  
Version YunoHost d’origine : 11  
Nouvelle version YunoHost : 12  
Type d’authentification : HTTPS avec SSO YunoHost  
Interface web GitLab : Fonctionnelle  
Opérations Git : Non fonctionnelles  
Comportement actuel  
La connexion à l’interface web GitLab via SSO YunoHost fonctionne parfaitement  
Toutes les opérations Git (clone/pull/push) échouent avec l’erreur suivante :  
awk

Copier

````auto
fatal: Authentication failed for 'https://domain.tld/gitlab/project/repo.git/' ```

Comportement attendu :
L'authentification via SSO YunoHost devrait fonctionner pour toutes les opérations Git
Les opérations git clone/pull/push devraient s'exécuter normalement comme avant la migration
Informations complémentaires
Le problème est apparu directement après la migration vers YunoHost 12
L'authentification via l'interface web GitLab fonctionne normalement
Le problème affecte toutes les opérations Git sur tous les dépôts
Les credentials SSO YunoHost sont corrects et fonctionnent pour l'interface web
Questions pour le débogage
Y a-t-il eu des changements dans la gestion de l'authentification Git entre YunoHost 11 et 12 ?
D'autres utilisateurs ont-ils rencontré des problèmes similaires après la migration ?

### Share relevant logs or error messages
`remote: HTTP Basic: Access denied. If a password was provided for Git authentication, the password was incorrect or you're required to use a token instead of a password. If a token was provided, it was either incorrect, expired, or improperly scoped.
fatal: Authentication failed for 'https://domain.tld/gitlab/project/repo.git/'
````

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 10, 2024, 11:21pm UTC](https://forum.yunohost.org/t/git-authentication-issue-after-yunohost-11-to-12-migration/32228/2 "2024-12-10T23:21:04Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
