User has to grant access each time?

Zoom Apps Configuration
Zoom apps SDK in React app.

Description
We call await zoomSdk.config({capabilities[…] }) then make our API calls.
However it seemingly always pops up the user permissions dialog. We don’t want our users to always have to authenticate the app each time it’s opened.

What’s the logic ZoomApps uses to decide if the permissions dialog needs to be shown. Presumably it’s not coded in such a way where the order that we list the capabilities matters, or something like that…?

We’d like to know how to build in such a way that this is a one-time (or infrequent) dialog.

How To Reproduce
Call this line:

const result = await zoomSdk.config({
  capabilities: ["authorize", "onAuthorized", "expandApp", "openUrl", "getRunningContext", "getMeetingContext", "onShareScreen",
  "getRunningContext", "runRenderingContext", "getMeetingParticipants", "drawParticipant", "clearParticipant", "getMeetingUUID", "getMeetingView",
  "onMessage", "postMessage"
]

HI @sam2
Thanks for reaching out to us and sorry for the late reply!
Have you been able to troubleshoot this issue on your end or do you still need assistance?

Hi @elisa.zoom we still need assistance.

Could you confirm the intended behavior is to only require authorization once?

Assuming that’s the case - I am guessing there’s some comparison between grantedScopes and requestedScopes. Does this comparison normalize (e.g. case, order)?

Hi @sam2
You are correct, if a user authorizes an ap once that should be enough.
There is no need to reauthorization unless the user removes the app from their account