Welcome! Log In Create A New Profile

Advanced

Known issues with OAuth2 protocol...?

Posted by drugtrain 
Known issues with OAuth2 protocol...?
July 26, 2011 06:03PM
Hi all,

I'm using nginx (1.0.5) as unix socket-based proxy for my rails app, running on unicorn. I allow my users to sign using their Facebook account through the OAuth2 protocol but for some reason I'm getting an error 500 when being redirected back to my app from facebook (Twitter via OAuth 1 works fine). Are there any known issues with nginx and the oauth2 protocol / facebok's implementation of it (such as header size, URI length or characters within in, ...). Everything works fine in development with unicorn_rails so I'm looking for help here...

This is everything the access.log file gives me, nothing in the error.log nor in the rails log file:

62.143.96.199 - - [26/Jul/2011:17:03:07 -0400] "GET /auth/facebook/callback?code=AQDOaIf6nH4xMYmP5ZxKS0Qqv71I0frQWgrrm5GLETpkQ9iGeoasjaNDpf9jvVb17Gqb9Kk2oj7qbI6-87_U24Z9L6FzkH3XNeVH-r6w4iiDbKAmzGhhClHBw-ePlA95AT-lw_c3VOoM_NkCT2QE5lHLj9cvlo0GnSeAa6cy7VjnhG9njsDHJpf1vHDQT5xsJuE HTTP/1.1" 500 5 "http://myserver.net/checkout" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.30 (KHTML, like Gecko) RockMelt/0.9.62.313 Chrome/12.0.742.122 Safari/534.30"

At this point I'm more than happy to try any suggestions you might have....

Thanks,
Ulf
Re: Known issues with OAuth2 protocol...?
July 28, 2011 04:47AM
Solved it. Turned out to be not nginx-related...
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 321
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready