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 doest not exist on Dropbox