Martin Larizzate

Members
  • Content Count

    4
  • Joined

  • Last visited

About Martin Larizzate

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Martin Larizzate

    Problema con autenticación

    Lo que encotnre hasta ahora fue esto: lo que no se es como generar un nuevo token
  2. Martin Larizzate

    No puedo obtener el access token

    Viendo la documentación encuentro esto: Lo que no se es como generar otro token.
  3. Martin Larizzate

    No puedo obtener el access token

    Mismo problema. Escribo para leer respuestas.
  4. Martin Larizzate

    Problema con autenticación

    Hi! i'll write on english to avoid the languaje problems heheeh I'm having the same problem using de java-sdk My loging process is the next code. At first: @RequestMapping("/login") public ModelAndView login() { String authUrl = meli.getAuthUrl("http://localhost:8081/meli/autorization", AuthUrls.MLA); return new ModelAndView("redirect:" + authUrl); } Redirect actions goes to: @RequestMapping("/autorization") public ModelAndView autorization(WebRequest webRequest) { if(!requestHasErrors(webRequest)){ try { meli.authorize(webRequest.getParameter("code"),"http://localhost:8081/meli/summary"); } catch (AuthorizationFailure authorizationFailure) { log.error("Unexpected Error for MELI authentication"); } } return new ModelAndView(); } and finally: @RequestMapping("/summary") public ModelAndView summary(WebRequest webRequest ) { requestHasErrors(webRequest); return new ModelAndView(); } I'm receiving the next Exception on authorize() method Exception: AuthorizationFailure Cause: ar.com.gilwell.interactions.meli.sdk.AuthorizationFailure: Error validating grant. Your authorization code or refresh token may be expired or it was already used. DetailedMessage: Error validating grant. Your authorization code or refresh token may be expired or it was already used.