shaufi10 / oauth2-php

Automatically exported from code.google.com/p/oauth2-php
MIT License
0 stars 0 forks source link

authorize_client_response_type() is never used #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Implementing authorize_client_response_type() does nothing, because it's never 
used

Fix : insert at line 609 :

        // Authorize client to use response type
        if ($this->authorize_client_response_type($input["client_id"], $input["response_type"]) === false)
            $this->callback_error($input["redirect_uri"], ERROR_UNAUTHORIZED_CLIENT, $input["state"]);

Original issue reported on code.google.com by pierredu...@gmail.com on 18 Oct 2010 at 10:27

GoogleCodeExporter commented 8 years ago
I agree with this change; I'm not at home now, but I can insert it this week.

Original comment by tim.ridg...@gmail.com on 18 Oct 2010 at 4:31

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by pierredu...@gmail.com on 20 Oct 2010 at 12:25

GoogleCodeExporter commented 8 years ago
up! :)

Original comment by pierredu...@gmail.com on 29 Nov 2010 at 3:22

GoogleCodeExporter commented 8 years ago
Refer to 
http://code.google.com/p/oauth2-php/source/detail?r=d4e371c900e8fa8f0d59c798ca47
ecca5f579db6, this is now get fixed within latest dev.

Original comment by hswon...@pantarei-design.com on 14 Dec 2010 at 4:45