on the ipv64.de domain it’s working, but with the forward from the second nginx with the de domain no chance. Tried to set it up that the first nginx handles both domains (two entries in the config) and tried that the second nginx handles the authentication, but I’m getting loop or it’s not working.
the setup woth both nginx looks like this:
the ipv64.de ngninx only calls the oauth-proxy when accessed via server.ipv64.de, server.de is handled without oauth
the .de nginx should handle the authentication and that hands over to the ipv64.de ngninx.
but the authentication on the .de nginx is not working. The callback url is set to the .de nginx.
unfortunately some of my internal apps don’t have a login screen, so I need to protect them somewhere else. Any idea is welcome
I would assume there might be something wrong with how NGINX is talking to the OAuth server. Sadly, I have never had to set up OAuth on my end so I don’t really have the skill set to help out too much beyond knowing that it is possible to accomplish.
In so far as other auth methods when you don’t have a login screen, NGINX Open Source only supports a limited range of authentication methods. You could maybe try using basic auth? If you want to use more advanced authentication methods you would have to upgrade to NGINX Plus (P.S.: If you have other auth questions, please open a new topic!)