You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to pull calendars in HomeAssistant using the caldav urls. Homeassistant caldav module is pretty old, so I suspect the issue is there rather than Monica but I can't find much info in the docs to confirm this. Should monica accept basic authentication requests from other apps?
the error in HA is
The server does not provide any of the currently supported authentication methods: basic, digest
The creds being offerred are email and token. HA is using python CalDav module from PyPi(I think) here: https://pypi.org/project/caldav/
Which does look to follow RFC4791 which I thought Monica was also following.
This line in the App:
You can either create a personal access token (Bearer authentication), or authorize an OAuth client to create it for you. See [API documentation](https://www.monicahq.com/api)
** EDIT
OK, I read through that RFC and see that there's little to no info in there for authentications methods other than a warning against using basic auth over http.
So I guess the answer here is to work with HA to add Bearer auth or OAuth to their caldav module.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm trying to pull calendars in HomeAssistant using the caldav urls. Homeassistant caldav module is pretty old, so I suspect the issue is there rather than Monica but I can't find much info in the docs to confirm this. Should monica accept basic authentication requests from other apps?
the error in HA is
The creds being offerred are email and token. HA is using python CalDav module from PyPi(I think) here:
https://pypi.org/project/caldav/
Which does look to follow RFC4791 which I thought Monica was also following.
This line in the App:
suggests only Bearer auth is accepted.
The API documentation only discusses oAuth2 here
** EDIT
OK, I read through that RFC and see that there's little to no info in there for authentications methods other than a warning against using basic auth over http.
So I guess the answer here is to work with HA to add Bearer auth or OAuth to their caldav module.
Beta Was this translation helpful? Give feedback.
All reactions