Skip to content

Conversation

alexsegura
Copy link
Contributor

Hello,

I updated the AUTH_URL value because when using the getAuthorizationURL you actually land nowhere.

Capture d’écran 2025-01-30 à 12 09 50

On this page I found out that you need to reach the /authorization path.

@kelvincarvalhosilva
Copy link
Contributor

Hi @alexsegura

We will analyze the proposed solution and soon integrate it into our product.
Thank you very much for your contribution!

@alexpal03
Copy link

It can be fixed replacing:
private const AUTH_URL = "https://auth.mercadopago.com";
by
private const AUTH_URL = "https://auth.mercadopago.com/authorization";

in src/MercadoPago/Client/OAuth/OAuthClient.php

@alexsegura
Copy link
Contributor Author

@alexpal03 this is exactly what I did

@alexsegura
Copy link
Contributor Author

@kelvincarvalhosilva @aqudsilva @andreagostinho-meli @danielen-meli

Can you take a look and merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants