Closed barmstrong closed 10 years ago
Thanks for your input. Is this fixed through https://github.com/doorkeeper-gem/doorkeeper/blob/84f809aa98fcde3272d45e0381ebb6829df8f8f7/lib/doorkeeper/oauth/error_response.rb#L32-L35?
Or should we put that logic in https://github.com/doorkeeper-gem/doorkeeper/blob/685a5f3ed52c87c8bc951297dbe2d664b3d63ec8/lib/doorkeeper/oauth/code_response.rb#L14-L16 as well?
It's now fixed through: https://github.com/doorkeeper-gem/doorkeeper/blob/685a5f3ed52c87c8bc951297dbe2d664b3d63ec8/lib/doorkeeper/oauth/code_response.rb#L20-L21. Thanks for your input!
Sometimes we get errors like these in
authorizations_controller.rb
on create and destroy: https://github.com/applicake/doorkeeper/blob/master/app/controllers/doorkeeper/authorizations_controller.rb#L26The redirect URI being passed in is for mobile clients and looks something like:
ura:jeaf:xg:oauth:2.0:oob
.So it can't call
redirect_to auth.redirect_uri
. What is the correct server response for one of these? I'm thinking something like this?Also, what do you call these 'mobile client' redirects? Not even sure the correct name to google for. Thanks!