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
📚 Ingress and API authentification #70
Comments
Yes, you will have to go on the addon configuration tab then enable a port. There is no way to disable Home Assistant auth for an ingress endpoint such as API, that why we need to enable direct access. If I add the HA auth to Paperless through ingress i'll probably add a port that will only be usable for API |
@BenoitAnastay thanks let me try :) |
Nice works, but the sidebar ist now not working anymore. Is it possible to not adjust the URL for the sidebar? Maybe internal url + port or a properties to customize the url so that you can continue to use the sidebar? Or maybe provide both e.g. EVCC provide the ingress and also the UI on port 7070. So you can use the sidebar and the UI directly with the port. |
Have you updated the add-on to the last release? |
Ah lol. Sorry didn't see the last release. |
My apologies, it wasn't pushed to the repository, I don't know why |
No problem. When it's available I'll test the new version :) |
It's updated, there was a weird bug on GitHub side 1.1.2 was stuck as last release even though 1.2.3 was tagged last 🤔🤷♂️ |
Works thank you a lot |
It's #69 issue. On network configuration https://my.home-assistant.io/redirect/network/ You can manually set internal URL to http://homeassistant.local:8123 Then restart home assistant, you may need to do the same for external_url it will also extract base host to set the direct access to the list of allowed URLs |
And if add as URL: http://homeassistant.local:7071/ then it's the other way around :). |
Are you sure? |
There's a script integrated that will set this automatically using defined external url and internal url paperless-home-assistant-addon/paperless-ngx/rootfs/etc/s6-overlay/s6-rc.d/init-paperless/run Lines 33 to 37 in 33fb5f3
As you can see I forgot to append |
Iam not using the external url, because my instance is just locally available or with the internal url over VPN (tailscale) so IMHO what is missing, is when a port is set the in the config also to add this url EDIT: The addon port is in my case the 7071, correct? |
Yes it's taking the value form the one you put in your addon configuration |
Ok got it. As long as that isn't fixed, I'll try it myself. But now I can't log in at all. Now I'm confused :D |
This setting can be set in
It should also work with IPs |
Yes I know I also set this
You are right, then 4 :) |
You can enable DEBUG to have a more verbose error message |
I have no luck so far with the config file. Maybe I just wait for your fix and test again. |
I'll open another issue for nginx upload limit, the #69 is planned to be fixed with tomorrow update |
Hello,
do you use a third party app to upload, e.g. Paperparrot or Paperless Swift?
https://github.com/paperless-ngx/paperless-ngx/wiki/Affiliated-Projects
I tried to add a long living bearer token in HA and include it as a header in the request. But unfortunately I can't get through. Can I access the paperless UI without going to home assistant?
The text was updated successfully, but these errors were encountered: