Codebase list ruby-omniauth-facebook / cb3db75
some typos Mark Dodwell 12 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
8787 # not already granted access, or simply moving straight to the
8888 # callback where they have already granted access.
8989 #
90 # we pass the state parameter which we detect in our callback
90 # we pass the state parameter which we can detect in our callback
9191 # to do custom rendering/redirection for the canvas app page
9292 redirect "/auth/facebook?signed_request=#{request.params['signed_request']}&state=canvas"
9393 end
9494
9595 get '/auth/:provider/callback' do
9696 # we can do something special here is +state+ param is canvas
97 # (see notes abovein /canvas/ method for more details)
97 # (see notes above in /canvas/ method for more details)
9898 content_type 'application/json'
9999 MultiJson.encode(request.env)
100100 end