gesistsa / rtoot

:mammoth: R package to interact with the mastodon API
https://gesistsa.github.io/rtoot/
Other
104 stars 14 forks source link

URL authentication with browser = FALSE in RStudio IDE #146

Closed llrs closed 11 months ago

llrs commented 11 months ago

Nice package!

When the auth_setup(browser = FALSE) is used in RStudio (version 2023.6.1.524) there is no way to copy the long URL that is created because it pop-outs a mini-windows to enter the token and then the user cannot select and copy the url from the console.

It would be nice if it could be first added to the clipboard or some time was given to copy and pasted.

Thanks

chainsawriot commented 11 months ago

@llrs Nice suggestion. I can make this happen, but you will need to do that with auth_setup(browser = FALSE, clipboard = TRUE) (clipboard is by default FALSE); would that be okay with you?

chainsawriot commented 11 months ago

@llrs Ah, no. I can make it happen by default.