What I’d love to do is allow users of our product to connect their account to our product (like Salesforce connect or creating a connected account in Stripe if anyone is familiar with those).
The way this would work
- Client would generate a key / secret for Miro
- Client would input that in our products dashboard
- We can now dynamically create whiteboard for them in various meetings/events they they have in our product using the rest API
Does anyone know if this is possible? Or is anyone doing anything similar - even with a workaround?
Note: I had a good look through existing forums but didn’t see an obvious answer to this which is why I am creating a new thread
Best answer by Anthony Roux
Thanks for reaching out.
If I understood well your use-case, this is possible thanks to the OAuth 2 flow.
You, as developer, will create the app and have a client id/client secret. In your app, you will implement the OAuth 2 flow. The first time a user would like to use your app, they will have to authorise their app in their Miro account (standard OAuth 2 flow). For this user, you will get an access_token that you will then be able to use to create boards in their name (you will use this access_token to call the REST API).
Will this work for what you are building?