function authLink(path = 'auth') {
  return dropbox.getAuthenticationUrl(
    `${window.location.origin}/${path}`,
    btoa(JSON.stringify({handler: 'dropbox', origin: window.location.origin}))
  )
}
function authLink(path = 'auth') {
  return dropbox.getAuthenticationUrl(
    `${window.location.origin}/${path}`,
    btoa(JSON.stringify({handler: 'dropbox', origin: window.location.origin}))
  )
}
function authLink ( path = 'auth' ) { return dropbox . getAuthenticationUrl ( ` ${ window . location . origin } ${ path } ` , btoa ( JSON . stringify ( { handler : 'dropbox' , origin : window . location . origin } ) ) ) }
Generate auth link url to open to be used to handle OAuth2
@param {string} path
Generate auth link url to open to be used to handle OAuth2
Get the link to the auth page