socialcast/devise_oauth2_providable — Issue #28: redirect_uri dissapears after "Approve/Deny" form
Author: shemusok
Created: 2011-12-03 21:57:48+00:00
State: open

after I send GET

http://server/oauth2/authorize?response_type=code&client_id=someid&redirect_uri=callbackuri

to server, which use devise_oauth2_providable, I got
approve/deny page in my browser
I click 'approve'
and got

Invalid Authorization Request
Invalid redirect_uri is given

I found (with debugger) that
1. at first run of Devise::Oauth2Providable::AuthorizationsController#authorize_endpoint
req.redirect_uri is OK (also I see it in the browser address line:) and it matches @client.redirect_uri
2. at second run (after I click 'Approve') req.redirect_uri is empty (also, no value= property in code of "approve/deby" form)

I'm not sure that it's an issue, but in any case I really need a help:)
thanx