[Help] CardDAV/CalDAV URL access by email address

#1

Hello everybody,

Is it possible to access CardDAV and CalDAV interface without username in URL?
Special URL for logged user like:
remote.php/dav/addressbooks/users/$me
or URL by email address like:
remote.php/dav/addressbooks/usersbymail/user@domain.com
would work for me.

Thanks!

#2

bump
Anyone?

#3

No, that’s not possible, otherwise it would have been documented :wink:

#4

Thanks!
Well, not everything is documented, it was worth a try.
This issue is preventing me from integration of Nextcloud with email backend in z-push, so I kind of hoped.

#5

If you’re really willing to do it, you can maybe do it with some very spceific nginx reverse proxy with external script to replace your email variable with the username. No idea how hard it could be though, but if you really wanted to take a look somewhere, you can try.

#6

I thought about it and I didn’t like the idea.
Apparently, correct way how to achieve this is to use WebDAV Current Principal and CALDAV:calendar-home-set on client, so I am working on patches for z-push.

#7

Okay! :slight_smile:
I guess we can close then as it’s not really related to the contacts app help? :thinking:

#8

Sure, I agree.

1 Like
closed #9