Apache swallows OAuth2 from application

Alles, was den Apache betrifft, kann hier besprochen werden.

Apache swallows OAuth2 from application

Postby Tr33 » 01. December 2020 14:29

I have a kind of weird problem and all google searches are missling.

I have a Java application, which uses oauth. Locally I can run the application and everything works fine. It does not matter if I use my local domain, which is set through the hosts file, or the ip. But on my server I use apache (I didn't configure it, it is a old project) to wire the domain to it. On the server no authentication passes through. But if I try it through the direct ip, without apache, it works.

How do I have to configure the apache to pass the authentication to my application?

Antworten auf deutsch sind natürlich auch gestattet :)
Tr33
 
Posts: 2
Joined: 01. December 2020 14:22
XAMPP version: -
Operating System: linux

Re: Apache swallows OAuth2 from application

Postby Altrea » 01. December 2020 14:35

Just an idea: from which computer do you trigger your project in the server and is there maybe a hosts entry active routing your domain to 127.0.0.1?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Apache swallows OAuth2 from application

Postby Tr33 » 02. December 2020 14:39

Altrea wrote:Just an idea: from which computer do you trigger your project in the server and is there maybe a hosts entry active routing your domain to 127.0.0.1?


Hi Altrea,
I'm not sure what do you mean.

I created a small image for better understanding:
Image
Tr33
 
Posts: 2
Joined: 01. December 2020 14:22
XAMPP version: -
Operating System: linux


Return to Apache

Who is online

Users browsing this forum: No registered users and 15 guests