codenitive / laravel-oneauth

OAuth and OAuth2 Auth bundle for Laravel
http://bundles.laravel.com/bundle/oneauth
MIT License
86 stars 16 forks source link

oAuth2, wrong redirect_uri when running multilanguage site #43

Closed dimkoss closed 11 years ago

dimkoss commented 11 years ago

When you set in application/config/application.php the languages array eg( array('en','fr') ) the redirect_uri that passes through the url does not match the url that the oauth dialogue was first called. The result is failed authentication for oauth2.

crynobone commented 11 years ago

This should fixed the problem, can you run php artisan bundle:upgrade oneauth and test it out.

dimkoss commented 11 years ago

The extra params in URL::to() did the work.

Thank's