ajuvercr / only_scan

easy webapp to convert receipts to plain text account (beancount)
0 stars 1 forks source link

Add beancount passthrough #4

Open ajuvercr opened 2 years ago

ajuvercr commented 2 years ago

Set proxypass in nginx from '/bean' or something to beancount Enable Nginx jwt auth https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-jwt-authentication/

For this only_scan has to set jwt cookies I think

ajuvercr commented 2 years ago

Get cookie values https://stackoverflow.com/questions/26128412/how-to-extract-some-value-from-cookie-in-nginx

ajuvercr commented 2 years ago

with zauth you can just get /oauth/grant to check if you are signed in