Update OAuth2_Provider.php

redirect_url must be redirect_uri.

See also: https://github.com/philsturgeon/codeigniter-oauth2/blob/master/libraries/Provider.php

I tested it with facebook provider.