Vue lecture

Gmail OAuth authentication fails [when a local webserver is running] | Thunderbird Support Forum | Mozilla Support

This is silly, but Google OAuth2 fails at the last step (after clicking "Allow") if a local web server is running (on localhost I guess). Workaround is to stop the web server during the OAuth2 process -- you can then restart it just fine.

I got bitten by this with several Google calendars I use for work, for which I guess the OAuth2 token expired recently. Subsequently I got spammed with authentication requests, and my calendars stopped working properly.

The OAuth2 flow only showed the final "Allow" part, but clicking on it redirected me to my company's homepage. This added to the confusion, because the Google account I use uses my company's email, so my first guess was that the OAuth2 flow incorrectly assumed it had to finish on the email domain's website (or using some missing DNS records from it). But actually it was just my local webserver performing the redirection, but as I had set it up recently to work on my company's website, it was quite confusing -- especially as it redirected to the actuel website, for which I had a temporary local DNS entry when I worked on it last month.
I ended up messing up with TB cookies, vainly trying to finish the OAuth2 flow using cURL (I didn't document myself on the flow, and was pessimistic I could do so without a proper OAuth2 client anyway -- but I had a set of query parameters on the incorrect redirection so I guessed that just maybe if the query was made to the right place it might give me the One cookie I needed), and even trying to re-add some calendars, but nothing helped -- obviously.

Anyway, I have no clue why TB does this, but I luckily finally found this QA post when I was about to ask out of sheer despair -- not sure why I didn't find if before, maybe my queries were a bit too specific and this one didn't show up.


Permalink
  •  

Kelsidavis/System7

An open implementation of Apple Macintosh System 7 for modern hardware, bootable via GRUB2/Multiboot2.


Liens directs
  •  

Raspberry Pi 500+ : le nouvel ordinateur avec 16 Go de RAM, NVMe 256 Go et clavier rétroéclairé

Avec le Raspberry Pi 500+, la fondation Raspberry Pi franchit une nouvelle étape : un véritable ordinateur tout-en-un qui associe la puissance d’un Raspberry Pi 5 à un clavier mécanique rétroéclairé. Doté de 16 Go de RAM, d’un SSD NVMe de 256 Go et d’une connectique complète, il se positionne comme une alternative compacte et […]

Cet article Raspberry Pi 500+ : le nouvel ordinateur avec 16 Go de RAM, NVMe 256 Go et clavier rétroéclairé a été publié en premier sur Framboise 314, le Raspberry Pi à la sauce française.....

  •  

Garuda Linux : chroot + luks

Lorsque le système Garuda Linux ne démarre plus correctement (problème de GRUB, kernel corrompu, initramfs endommagé, etc.), l’une des solutions les plus efficaces est d’utiliser un Live USB pour accéder à vos partitions et corriger le système via un chroot. Monter un chroot d’une partition chiffrée avec LUKS depuis un Live USB Garuda Linux Si, […]
  •  

end of 10

que faire pour la fin de windows 10 ?

installer linux
vid{56af2ca8f75d51c405f4e500d36f4675bad893c47f64870219b82dcae6a62213}
Permalink

  •  

KDiskMark : l’alternative Linux à CrystalDiskMark pour tester vos disques

KDiskMark est un outil libre et open-source pour GNU/Linux qui permet de tester les performances des disques durs et SSD, comme CrystalDiskMark sur Windows. L’application propose une interface graphique avec des réglages prédéfinis. Elle s’appuie sur FIO pour effectuer les tests et permet de configurer la taille des blocs, le nombre de files d’attente et […]
  •  

rsync synchronisation dossiers NAS

rsync -rv --size-only --info=progress2 /mnt/nas01_usb_disk/xxx/Images/ /mnt/nas01/Photos/

Recopie les fichiers absents du dossier destination depuis le dossier source.
-rv : récursif + verbose
--size-only : ne prend en compte que la taille des fichiers


Permalien
  •  
❌