Búsquedas recientes


No hay búsquedas recientes

Will Munn's Avatar

Will Munn

Incorporación 30 nov 2022

·

Última actividad 01 dic 2022

Seguimientos

0

Seguidores

0

Actividad total

3

Votos

0

Suscripción

1

RESUMEN DE LA ACTIVIDAD

Última actividad de Will Munn

Will Munn hizo un comentario,

Comentario de la comunidad Developer - Zendesk Apps Framework (ZAF)

If I set that I get

Uploading app... Uploaded
Deploying app... Failed
 ›   Error: Error: oauth parameter cannot be set to be secure.

Ver comentario · Publicado 01 dic 2022 · Will Munn

0

Seguidores

0

Votos

0

Comentarios


Will Munn hizo un comentario,

Comentario de la comunidad Developer - Zendesk Apps Framework (ZAF)

Hi I'm having a lot of problems with this too. In my manifest I have:

```

{

 "parameters": [
    {
      "name": "token",
      "type": "oauth"
    }
  ],
  "oauth": {
    "client_id": "XXX",
    "client_secret": "XXX",
    "authorize_uri": "https://XXX/oauth2/authorize",
    "access_token_uri": "https://XXX/oauth2/token",
    "scope": "email profile offline_access"
  }

}

```

and my code does

```

client.request({
  url: 'https://xxx.com/some/endpoint',
  type: 'GET',
  secure: true,
  headers: {Authorization: 'Bearer {{setting.token}}'},
})

```

The app seems to authorise fine when I go through the process but I still get this proxy error.

One detail is that I've installed the app in a zendesk sandbox to test it. Is this expected to work?

Ver comentario · Publicado 30 nov 2022 · Will Munn

0

Seguidores

0

Votos

0

Comentarios