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.
On Tue, Dec 12, 2017, 6:57 AM Jason Chu <[email protected]> wrote: > 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? > > On Mon, Dec 11, 2017, 10:35 PM yegle <[email protected]> wrote: > >> 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 < >> [email protected]> 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 <[email protected] >>> > <mailto:[email protected]>> 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 >>> > <[email protected] <mailto:[email protected]>> >>> 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 [email protected] >>> > <mailto:[email protected]>. >>> > To post to this group, send email to >>> [email protected] >>> > <mailto:[email protected]>. >>> > To view this discussion on the web visit >>> > >>> https://groups.google.com/d/msgid/beancount/86f1aa81-b80e-479d-92fd-91aea12ebe30%40googlegroups.com >>> > < >>> https://groups.google.com/d/msgid/beancount/86f1aa81-b80e-479d-92fd-91aea12ebe30%40googlegroups.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 [email protected] >>> > <mailto:[email protected]>. >>> > To post to this group, send email to [email protected] >>> > <mailto:[email protected]>. >>> > 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 [email protected] >>> > <mailto:[email protected]>. >>> > To post to this group, send email to [email protected] >>> > <mailto:[email protected]>. >>> > 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> 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 [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/CAFL5w3Wv%3DwwGFbuf0GCkodtVOrcYYUnQmcPBpUGt89hEwUBTHw%40mail.gmail.com >> <https://groups.google.com/d/msgid/beancount/CAFL5w3Wv%3DwwGFbuf0GCkodtVOrcYYUnQmcPBpUGt89hEwUBTHw%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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFFHUguXa8NU3rq54NtWjsFXsn4qHQ3pghceJd539L0Rr60NzQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
