mercadolibre / net-sdk

MercadoLibre's .NET SDK
56 stars 81 forks source link

Redirect uri mismatch #16

Closed erafael closed 4 years ago

erafael commented 8 years ago

I already configured my application in https://applications.mercadolivre.com.br. I set the Redirect URI to https://localhost:44300/WebForm1.aspx and set in my c# application. But the return by the Mercado Livre is: https://localhost:44300/WebForm1.aspx?error=redirect_uri_mismatch&error_description=Your+client+callback+must+be+the+same+as+your+redirect_uri before the user autentication.

What can I do to fix this?

pablosfor commented 8 years ago

I had the same problem, and thanks to googe, i found that the problem was the port with more than four characters.

Use a port with four characters and then it should work!

(I think that it still being an error... but i belive this workaroud could help you to continue working)

Regards!!

GuilhermeCanoa commented 7 years ago

Please, how can I use the parameters in the URI? After the redirection. I got 'https://localhost/plataforma/configuracoes/receive_ml#access_token=APP_USR-637991549&expires_in=21600&user_id=2566&domains=localhost ' and cant use the access token by GET, POST, anything.