Skip to main content

Hi there,

Currently I’m working on implementation MiroBoard for not registered users, for registered users everything works well, but for not registered users I need to generate JWT, I generated it but it seems there’s something wrong with it.

Can you please share some examples of JWT generation for MiroBoard using node.js?

Hey @Rostyslav Laba !

We recommend using libraries suggested here https://jwt.io/

If you scroll down the page, there are libraries for node.js as well, you can use them. 

Here’s what we suggest on our docs: https://developers.miro.com/docs/editable-boards-for-anonymous-users#section-5-generate-jwt-on-your-backend


Hey @Rostyslav Laba !

We recommend using libraries suggested here https://jwt.io/

If you scroll down the page, there are libraries for node.js as well, you can use them. 

Here’s what we suggest on our docs: https://developers.miro.com/docs/editable-boards-for-anonymous-users#section-5-generate-jwt-on-your-backend

Thanks for your answer, I generated a token according to your documentation, using library that is present in https://jwt.io/, while creating I got error picker.cbf5e318a197c8b7a6c1.js:2 Bad Token: undefined; Reason: anonymousBoardsNotAllowed

I added to openBoardPicker option allowCreateAnonymousBoards: true,

 


This usually happens when your app is not yet enabled on miro side (that’s a pre-requisite for anonymous boards).

Have you filled this step of the doc already? https://developers.miro.com/docs/editable-boards-for-anonymous-users#section-2-send-us-https-miro-survey-typeform-com-to-ay-g-cxd-ge-your-client-id-of-the-application-so-we-can-enable-boards-picker-api

 


This usually happens when your app is not yet enabled on miro side (that’s a pre-requisite for anonymous boards).

Have you filled this step of the doc already? https://developers.miro.com/docs/editable-boards-for-anonymous-users#section-2-send-us-https-miro-survey-typeform-com-to-ay-g-cxd-ge-your-client-id-of-the-application-so-we-can-enable-boards-picker-api

 

Yes, last week we emailed to you, and asked about condition of our request (width clientID) and you answered that it’s approved. Can I share my clientId with you?


Reply