is it possible to use a headless browser to sign in to your dropbox via my app and request a access token and refresh token?
i'm using powershell with selenium and headless edge browser.
You should not use a headless browser to sign into your Dropbox to request an access or a refresh token. This process should be done by the user at least once, per account.
However, the refresh token does not expire so it can be reused.
Feel free to reference the OAuth guide for more information: https://developers.dropbox.com/oauth-guide