There were discussions in the past to utilize https://github.com/bitly/oauth2_proxy to achieve the goal you want.
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/86f1aa81-b80e-479d-92fd-91aea12ebe30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFL5w3Xe646N%3D1R4QxcSz6P9EwEUx9-Oun6i3N8zWLRA5uLN0Q%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscribe@googlegroups.com.
I will take a look at oath2_proxy. Thanks for the reference.
On 06/12/17 18:03, Jason Chu wrote:
> I still have a document to write that explains how I set all this stuff
> up, but as was pointed out by yegle, I use oauth2_proxy and letsencrypt
> to protect access to my publicly addressable fava instance.
>
> On Wed, Dec 6, 2017 at 7:58 AM yegle <cny...@gmail.com
> <mailto:cny...@gmail.com>> wrote:
>
> There were discussions in the past to utilize
> https://github.com/bitly/oauth2_proxy to achieve the goal you want.
>
>
> On Wed, Dec 6, 2017, 07:26 'Paulo Matos' via Beancount
> <bean...@googlegroups.com <mailto:beancount@googlegroups.com>> wrote:
>
> Hi,
>
> I can run fava, the web frontend for beancount, locally however
> for both myself and my wife to use it, it would be great to have
> it in a public server. However, how can we ensure the privacy of
> the data?
>
> I can host my own fava on my public server, the issue is that
> there doesn't seem to be a concept of users in fava.
>
> Any suggestions?
>
> Kind regards,
>
> Paulo Matos
>
> --
> You received this message because you are subscribed to the
> Google Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to beancount+unsubscribe@googlegroups.com
> <mailto:beancount+unsubscribe@googlegroups.com>.
> To post to this group, send email to bean...@googlegroups.com
> <mailto:beancount@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to beancount+unsubscribe@googlegroups.com
> <mailto:beancount+unsubscribe@googlegroups.com>.
> To post to this group, send email to bean...@googlegroups.com
> <mailto:beancount@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAFL5w3Xe646N%3D1R4QxcSz6P9EwEUx9-Oun6i3N8zWLRA5uLN0Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAFL5w3Xe646N%3D1R4QxcSz6P9EwEUx9-Oun6i3N8zWLRA5uLN0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beancount+unsubscribe@googlegroups.com
> <mailto:beancount+unsubscribe@googlegroups.com>.
> To post to this group, send email to bean...@googlegroups.com
> <mailto:beancount@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAFFHUgvOnXBijy8PVaSkF5-p69u2SUBtCxVXB6mjyJXznd4cBw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAFFHUgvOnXBijy8PVaSkF5-p69u2SUBtCxVXB6mjyJXznd4cBw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
--
Paulo Matos
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/7755925f-c211-2871-c4b1-492111a6a40b%40matos-sorge.com.
For more options, visit https://groups.google.com/d/optout.
That's extremely weird. My changed/ requests do have a Cookie header. Changed detection works fine for me. Maybe clear cookies or clear site data to re-authenticate?
I've successfully configured oauth2_proxy as a reverse proxy to my fava instance. But for some reason the AJAX requests sent to change/ handler doesn't contain any Cookie: request header, which is important for oauth2_proxy to work.I'm not familiar with Javascript enough to know why. Is this a known issue to any of you? Do you have a workaround for it?
On Wed, Dec 6, 2017 at 10:55 PM, 'Paulo Matos' via Beancount <bean...@googlegroups.com> wrote:
I will take a look at oath2_proxy. Thanks for the reference.
On 06/12/17 18:03, Jason Chu wrote:
> I still have a document to write that explains how I set all this stuff
> up, but as was pointed out by yegle, I use oauth2_proxy and letsencrypt
> to protect access to my publicly addressable fava instance.
>
> On Wed, Dec 6, 2017 at 7:58 AM yegle <cny...@gmail.com
> <mailto:cny...@gmail.com>> wrote:
>
> There were discussions in the past to utilize
> https://github.com/bitly/oauth2_proxy to achieve the goal you want.
>
>
> On Wed, Dec 6, 2017, 07:26 'Paulo Matos' via Beancount
> <bean...@googlegroups.com <mailto:bean...@googlegroups.com>> wrote:
>
> Hi,
>
> I can run fava, the web frontend for beancount, locally however
> for both myself and my wife to use it, it would be great to have
> it in a public server. However, how can we ensure the privacy of
> the data?
>
> I can host my own fava on my public server, the issue is that
> there doesn't seem to be a concept of users in fava.
>
> Any suggestions?
>
> Kind regards,
>
> Paulo Matos
>
> --
> You received this message because you are subscribed to the
> Google Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> To post to this group, send email to bean...@googlegroups.com
> <mailto:bean...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> To post to this group, send email to bean...@googlegroups.com
> <mailto:bean...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAFL5w3Xe646N%3D1R4QxcSz6P9EwEUx9-Oun6i3N8zWLRA5uLN0Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAFL5w3Xe646N%3D1R4QxcSz6P9EwEUx9-Oun6i3N8zWLRA5uLN0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to beancount+...@googlegroups.com
> <mailto:beancount+...@googlegroups.com>.
> To post to this group, send email to bean...@googlegroups.com
> <mailto:bean...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAFFHUgvOnXBijy8PVaSkF5-p69u2SUBtCxVXB6mjyJXznd4cBw%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAFFHUgvOnXBijy8PVaSkF5-p69u2SUBtCxVXB6mjyJXznd4cBw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.
--
Paulo Matos
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/7755925f-c211-2871-c4b1-492111a6a40b%40matos-sorge.com.
For more options, visit https://groups.google.com/d/optout.
--Yuchen Ying
https://about.me/yegle
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFL5w3Wv%3DwwGFbuf0GCkodtVOrcYYUnQmcPBpUGt89hEwUBTHw%40mail.gmail.com.
One thing that does come to mind is if the cookie is for a different domain, they won't be sent to the changed/ handler, but that setup seems a little bit weird. The chrome inspector will be able to show you what domain the cookie applies to and what domain the changed request is going to.
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20180404063453.GF20926%40upsilon.cc.