sawhney17 / logseq-calendars-plugin

MIT License
127 stars 17 forks source link

Feature Request https basic auth #19

Open chb567 opened 2 years ago

chb567 commented 2 years ago

I wish to add my calendars from my radicale instance that's secured behind basic auth.

Axios allows specifying an auth parameter, so i think this should do the trick:

const res = await axios.get('https://httpbin.org/basic-auth/foo/bar', {
  // Axios looks for the `auth` option, and, if it is set, formats a
  // basic auth header for you automatically.
  auth: {
    username: 'foo',
    password: 'bar'
  }
});
res.status; // 200

Thanks in advance

sawhney17 commented 2 years ago

Are you still interested in this feature?

chb567 commented 2 years ago

Yes, absolutely

sawhney17 commented 2 years ago

Would it be possible for you to supply a basic calendar ICS link? Just with a few events scheduled for today. It’d really help me make this possible. On 25 Apr 2022, 11:48 AM +0400, chb567 @.***>, wrote:

Yes, absolutely — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

chb567 commented 2 years ago

Certainly. I can give you the link and the credentials, but I'd rather not share it so publicly :P if you could send me an email I can respond with all that's necessary. init567@gmx.de

aadilayub commented 1 year ago

Highly interested in this feature. Most people with corporate calendar servers have to use auth to access their day's agenda

fraschm1998 commented 1 year ago

Also very interested!