Hello, I require help connecting my 4x microsoft and 1x gmail e-mail account in Paperless-ngx using oAuth2.0.
I want to be able to have paperless-ngx pulling my mail documents and organizing them for me.
Iām using MFA protected mail accounts thatās why the usual connection method doesnāt work and disabling MFA is not an option for me.
My setup is Homeassistant OS on a raspberry 4 and I have installed Nginx Proxy Mangager and Paperless-ngx as an addon.
I donāt own a domain where I could configure DNS Records and Iām using the DDns from AVM Fritzbox.
Since I canāt configure paperless to be accessible via āpaperless.xyz.myfritz.net:8123ā I have made it accessible behind nginx using āxyz.myfritz.net:8123/paperlessā.
I have created an azure trial with my main account to be able to register an app to receive the āPAPERLESS_OUTLOOK_OAUTH_CLIENT_IDā āPAPERLESS_OUTLOOK_OAUTH_CLIENT_SECRETā and set the PAPERLESS_OAUTH_CALLBACK_BASE_URL like https://xyz.myfritz.net:8123/paperless
the redirect_url in azure is https://xyz.myfritz.net:8123/paperless/api/oauth/callback/
This enabled the microsoft connect button in paperless-ngx
At this point Iām stuck at the following point when the redirect should happen:
I think this must have something to do with my Nginx Reverse Proxy and Iāve looked up many posts from other people having the same problem but Iāve seen no real solution to that.
The only thing that looked remotely promising so far was setting up an OAuth2 Proxy
However since this isnāt available as an addon I wasnāt really sure on how to set this up in homeassistant.
Does anybody know a solution for my problem or maybe my setup should be revised completely?

