Mar 9th, 2011, 05:17 PM
OAuth 2 session problem
I'm trying to access Sparkl2 demo application from external Ruby application made with Sinatra and ruby oauth2 library (https://github.com/intridea/oauth2). I can authorize user and grant access to the application, but all process seems to be a session bound. More exactly, when Spring Security redirect user back to ruby application, URL does not have jsessionid parameter neither Set-Cookie header, so servlet container fails to find session id, and authorization fails on code verfication stage.
It seems to be rather servlet container issue, but anyway, any help would be highly appreciated.
Mar 11th, 2011, 12:58 PM
Sorry, I'm having trouble understanding. Are you saying that the Ruby application needs the jsessionid parameter?
Mar 11th, 2011, 02:41 PM
It was my first thought. But I found that I've done something wrong. Now it's working perfectly. Thanks for answer, anyway.
Originally Posted by stoicflame