Pesquisas recentes


Sem pesquisas recentes

Cam Stuart's Avatar

Cam Stuart

Entrou em 13 de set. de 2024

·

Última atividade em 23 de out. de 2024

Seguindo

0

Seguidores

0

Atividade total

7

Votos

1

Assinaturas

2

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Cam Stuart

Cam Stuart comentou,

Comentário na comunidade Feedback - Developer Platform

Thanks Shawna James !

Exibir comentário · Publicado 23 de out. de 2024 · Cam Stuart

0

Seguidores

0

Votos

0

Comentários


Cam Stuart criou uma publicação,

Publicação Feedback - Developer Platform

Hello Everyone,

 

I have built several Zendesk apps now, both client side and server side.

And so far the developer experience hasn't been great. Some of the main challenges I have solved:
 

  • Authentication with server side apps, especially those going into the marketplace
  • Hot reload / fast feedback while developing within my Zendesk dev instance
  • Automated building an app bundle for upload/submission 
  • Recent tech (eg React version)
     

The zcli tool generates a fairly old React app, with several no longer used technologies. 

So I set about solving these problems for myself, but I wondered if a starter kit would be useful to anyone else? 

 

I am not sure how many organisations build their own apps vs saas builders building for the marketplace, making hard to get a sense of how many people might be interested.

So I would love to know if this is something you might find useful, what other features would you want? what tech stacks / tools do you prefer, and how much you think something like this would be worth?

Thanks! 

Editado 22 de out. de 2024 · Cam Stuart

0

Seguidores

2

Votos

2

Comentários


Cam Stuart comentou,

Comentário na comunidade Developer - Zendesk Apps Framework (ZAF)

Hi Tipene,

 

I wouldn't describe it as a solution, more of a workaround. And not especially secure.

 

In my case I have a server side top bar app defined in the manifest, and I also have a background app as well.

 

So because the background app has access to Zaf, I determine the app id dynamically, construct a request to get the public key, and send it to my backend via a POST request with the public key and subdomain in the body. This effectively “onboards the organisation ” with an upsert operation in my database.

Then when my server side app is opened, and a JWT sent as part of the initial post request, I am able to verify it, create a session and away we go. 

 

But unfortunately this has some security concerns, and if I build future server side apps that don't require the background app, then I would have to add one anyway.

I'm hoping you can make another suggestion!

Exibir comentário · Publicado 07 de out. de 2024 · Cam Stuart

0

Seguidores

0

Votos

0

Comentários


Cam Stuart comentou,

Comentário na comunidade Developer - Zendesk Apps Framework (ZAF)

I have managed to get this working using the method described above, but what I can't figure out is how I can get the public key dynamically for a subdomain that has purchased my app. In their case, I won't have email/token that can get the public key in their account.

Usually, public keys are not auth protected because they are, well, public.

What is the recommended solution here for app marketplace developers?

Exibir comentário · Publicado 13 de set. de 2024 · Cam Stuart

0

Seguidores

0

Votos

0

Comentários