lib/rack/oauth2/server/token/authorization_code.rb in rack-oauth2-0.8.3 vs lib/rack/oauth2/server/token/authorization_code.rb in rack-oauth2-0.8.4

- old
+ new

@@ -8,10 +8,11 @@ @response = Response.new(request) super end class Request < Token::Request - attr_required :code, :redirect_uri + attr_required :code + attr_optional :redirect_uri def initialize(env) super @grant_type = :authorization_code @code = params['code'] \ No newline at end of file