-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Support authentication using Bearer tokens #415
Comments
Thank you! Did you try Use Preemptive Authentication instead of Force basic auth in your sync profile/advanced settings/network settings? |
I did, but no luck. When no Authorization header is sent with the first request then the server returns 401 with a |
And where does the access token come from in your example? Would you need a new config option in the UI where you can enter the token manually? |
That would be the idea. I am talking about the kind of API token that you manually generate on a server for a long validity like months or years. |
First, thank you a lot for one of the most useful tools I have installed :-)
Today I stubled across a Confluence installation that supports access to team calendars via CalDav only using an Authorization header with Basic authentication:
Authorization: Basic b64(<username>:<password>)
But sending the Access Token as the password in Basic authentication is not supported
It would be great if CalDavSynchronizer could support Bearer authentication as an alternative to Basic authentication and then send Authorization headers like:
Authorization: Bearer <Access Token>
(I could not find a way to select Bearer auth in the UI. And a search of the source code for "Bearer" only returned one match in the context of the special SwissCom implementation.)
Thanks a lot!
Martin
The text was updated successfully, but these errors were encountered: