gesistsa / rtoot

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

authentication when you don't have a browser #126

Closed dill closed 1 year ago

dill commented 1 year ago

I have a fiddly use case where I need to set things up on a machine without a browser. I've made a patch to include an extra argument to auth_setup() called browser (default TRUE giving the previous behaviour), which when it's FALSE will print the URL so one can copy and paste it into a browser locally.

Hope this is useful beyond just me!

schochastics commented 1 year ago

@dill I think this is a great addition. Can you fix the issues from R cmd check? Thats is add the browser parameter with @param and run devtools::document()

dill commented 1 year ago

great, I've added those now. Hope the description makes sense.