Results 1 to 3 of 3

Thread: OAuth 2 session problem

  1. #1
    Join Date
    May 2008
    Posts
    2

    Default OAuth 2 session problem

    Hello,

    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.

  2. #2
    Join Date
    May 2008
    Location
    Salt Lake City
    Posts
    167

    Default

    Sorry, I'm having trouble understanding. Are you saying that the Ruby application needs the jsessionid parameter?

  3. #3
    Join Date
    May 2008
    Posts
    2

    Default

    Quote Originally Posted by stoicflame View Post
    Sorry, I'm having trouble understanding. Are you saying that the Ruby application needs the jsessionid parameter?
    It was my first thought. But I found that I've done something wrong. Now it's working perfectly. Thanks for answer, anyway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •