Hello, community!
While installing my app, is there any way to include details about my organization within the token?
Vas
Hello, community!
While installing my app, is there any way to include details about my organization within the token?
Vas
Hi
Thanks for being an active community member :)
My first thought is “I don’t think so” but I’d love to understand the use case / process here to see if there may be another solution.
Do you mean something similar to what get org info returns:
{
"id": "3074457345821140946",
"fullLicensesPurchased": 0,
"name": "Miro company",
"plan": "company",
"type": "organization"
}
but to be added within the get access token context response? Or what did you have in mind?
When obtaining a token, I receive the following details in the response body:
{
"user_id": "3***************9",
"scope": "boards:write boards:read team:write identity:write identity:read team:read",
"expires_in": 3599,
"refresh_token": "e************************************************************************************Y",
"token_type": "bearer",
"access_token": "eyJ**********************************************************************************A",
"team_id": "345***************6"
}
I’m wondering if it’s possible to include additional organization information directly within this response. This would allow me to avoid an extra request to fetch organization details from the endpoint at:
https://api.miro.com/v1/oauth-token
Hi
Thank you for the additional details, this helps a lot.
I will add this as feedback to our product team, but I do not expect the API response to change in the near future, unfortunately. I will let you know once / if it does.
Thank you for providing your valuable feedback as it helps our platform become more useful for developers!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.