CardBook Addon v38 needs a patch to fix Google 0Auth

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

User avatar
Wallace-and-Grommit-on-DVD
New to the forum
New to the forum
Posts: 1
Joined: 2025-05-16, 20:36

CardBook Addon v38 needs a patch to fix Google 0Auth

Unread post by Wallace-and-Grommit-on-DVD » 2025-05-16, 21:55

Hello, I use Epyrus, and (perhaps unfortunately) my E-Mail is GMail.
To access google contacts via WebDAV you would have to use CardBook (since WebDAV is not implemented in Epyrus) specifically version 38 or below version 37.9's code can be found on the extention's gitlab however when attempting to authenticate over 0Auth google errors out saying that oob authentication is not allowed anymore, the offending line seems to be

Code: Select all

	REDIRECT_URI:               "urn:ietf:wg:oauth:2.0:oob",
in /chrome/content/cardbookRepository.js, Google recommends switching to localhost redirection, using http://127.0.0.1:<port> for the redirect uri instead. Unfortunately, while i know that the 0Auth request is implemented in /chrome/content/cardbookSynchronizationGoogle.js I have no clue how to open a port to listen for the response,thus this plea for help, hopefully someone here knows how to solve this problem.
(for note the file that handles the adding of address books is /chrome/content/addressbooksconfiguration/wdw_addressbooksAdd.js)


Hey Scott, Not All Here!

User avatar
andyprough
Board Warrior
Board Warrior
Posts: 1115
Joined: 2020-05-31, 04:33

Re: CardBook Addon v38 needs a patch to fix Google 0Auth

Unread post by andyprough » 2025-05-29, 20:54

Wallace-and-Grommit-on-DVD wrote:
2025-05-16, 21:55
how to open a port to listen for the response
Would any of the techniques on this page help? https://superuser.com/questions/397892/ ... ate#397901