openid problem

Hi,

I'm trying the yourtrack rc 3530 on my server and have problems to login with openid.

I was trying to log in using my google account and I tried a google apps account. It is forwarding me to the login page but after allowing the access on google it shows "OpenId response data verification failed!" on the youtrack login page.

There seems to be nothing about it in the logs.

Bastian
5 comments
Comment actions Permalink
Hi dafire,
sorry for long delay.

To resolve the issue please ensure that 'base URL' is correct. It is set on 'settings' screen on administration part.
0
Comment actions Permalink
I checked the base url settings and it looks correct.
0
Comment actions Permalink
I get similar error if set internal host name as base URL.
If set canonical host name everything works fine.

So please update RC to latest build - http://confluence.jetbrains.net/display/TSYSPUB/YouTrack+EAP+Builds and try my suggestion.

If you are unsuccessful please attach logs.

Thanks
0
Comment actions Permalink
Ok, I think I fixed it. I'm hosting youtrack on my server and using nginx to forward the requests to youtrack.

I followed the documentation on http://confluence.jetbrains.net/display/YTD2/Linux.+JAR+in+Nginx+Web+Server which suggests following config:

# youtrack servlet
        location /youtrack {
        proxy_pass http://<youtrack server>:<youtrack port>;
         
        }
prettyPrint();
this is obviously not enough. I changed it to:

        location / {
 proxy_pass http://<youtrack server>:<youtrack port>;
 proxy_set_header        X-Real-IP $remote_addr;
 proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
 proxy_set_header        Host $http_host;
        }
prettyPrint();

and now it works.
0
Comment actions Permalink
Thank for providing your marks, we will add it to documentation - I created the request http://youtrack.jetbrains.com/issue/JT-15551
0

Please sign in to leave a comment.