File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
33### Unreleased
4- * Fix: Add missing ` /cancel ` suffix in Notetaker API endpoint
4+ * Add support for 'zoom' as a provider type in Auth module
5+ * Fixed Add missing ` /cancel ` suffix in Notetaker API endpoint
6+
57
68### 7.9.0 / 2025-04-30
79* Add support for Notetaker API endpoints
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ export type Provider =
1212 | 'microsoft'
1313 | 'icloud'
1414 | 'virtual-calendar'
15- | 'ews' ;
15+ | 'ews'
16+ | 'zoom' ;
1617
1718/**
1819 * Configuration for generating a URL for OAuth 2.0 authentication.
Original file line number Diff line number Diff line change @@ -188,6 +188,20 @@ describe('Auth', () => {
188188 ) ;
189189 } ) ;
190190
191+ it ( 'should support zoom as a provider' , ( ) => {
192+ const url = auth . urlForOAuth2 ( {
193+ clientId : 'clientId' ,
194+ redirectUri : 'https://redirect.uri/path' ,
195+ scope : [ 'calendar' ] ,
196+ provider : 'zoom' ,
197+ includeGrantScopes : true ,
198+ } ) ;
199+
200+ expect ( url ) . toBe (
201+ 'https://test.api.nylas.com/v3/connect/auth?client_id=clientId&redirect_uri=https%3A%2F%2Fredirect.uri%2Fpath&access_type=online&response_type=code&provider=zoom&include_grant_scopes=true&scope=calendar'
202+ ) ;
203+ } ) ;
204+
191205 it ( 'should build the correct url if all the fields are set' , ( ) => {
192206 const url = auth . urlForOAuth2 ( {
193207 clientId : 'clientId' ,
You can’t perform that action at this time.
0 commit comments