Can’t get used data through https://api.zoom.us/v2/users/me
endpoint, got error:
Invalid access token, does not contain scopes:[user:write:admin, user_info:read, user:read:admin, user_profile, user:read, user:write].
We can’t access these scopes through Zoom marketplace app settings.
Also I tried to add these scopes through authorize endpoint but got the same issues
getInstallUrl(): { url: URL; state: string } {
const state = generateState();
const url = new URL('/oauth/authorize', 'https://zoom.us');
url.searchParams.set('response_type', 'code');
url.searchParams.set('client_id', this.config.clientId);
url.searchParams.set('redirect_uri', this.redirectUrl);
url.searchParams.set('state', state);
url.searchParams.set('scope[]', 'user:read:user');
url.searchParams.set('scope[]', 'user_info:read');
url.searchParams.set('scope[]', 'user_profile');
url.searchParams.set('scope[]', 'app:deeplink:write');
return { url, state };
}