Auth0 Home Blog Docs

Problem With HTTPD Proxy and Auth0

apache
java
http
#1

I have the following config in my ssh.conf

<VirtualHost _default_:443>
    ServerAdmin root@localhost
    ServerName secondave.net:443
    DefaultType text/html 
    ProxyRequests off
    ProxyPreserveHost On
    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/
    ErrorLog logs/ssl_error_log
    TransferLog logs/ssl_access_log
...
</VirtualHost _default_:443>

I am using the following library…

compile 'com.auth0:mvc-auth-commons:latest.release'
compile 'com.auth0:auth0-spring-security-api:latest.release'

But when I try to login the callback gets set to localhost. Am I missing something in the Controller or do I need something special in the ssl.conf?

#3

Hey @jackiegleason,

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

closed #4

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.