Discussions
-
Drop box js sdk
this.dbxAuth = new DropboxAuth({clientId: dropboxConfig.clientId,clientSecret: dropboxConfig.clientSecret,}) i am stroing the refreshToken from const tokenResponse = await this.dbxAuth.getAccessTokenFromCode( dropboxConfig.redirectUri, code,) this method . const scopes =…
-
Property 'auth' does not exist on type 'Dropbox'
auth export class DropboxService {private dbx: Dropbox constructor() {this.dbx = new Dropbox({fetch,clientId: dropboxConfig.clientId,clientSecret: dropboxConfig.clientSecret,})} generateAuthUrl() {const authUrl = this.dbx.auth.getAuthenticationUrl(dropboxConfig.redirectUri,undefined,'code',)return authUrl} shows error auth…