drop_create() authentication error
I am using several functions from rdrop2 package on in a shiny app. I am using a rds token file for authentication purpose. All the functions work well apart from drop_create().
Same issues arises on RStudio server also. Every other function works but re-authentication is required when I use drop_create().
Furthermore the authentication also doesn't work, I have set httr_oob_default = TRUE but when I go to the url generated for authentication token, I get a 400 error with the message:
Invalid redirect_uri. When response_type=code, redirect_uri must start with "https://", unless it's a localhost URI.
If I do the same on RStudio desktop, drop_create() works perfectly with the same token. Can someone guide me if I am missing anything here?
Looking into this @nadeem-mojo Will report back.
Same problem here!
I think it worked with R3.5 and breaks with 3.6, but I am not sure
simple workaround:
drop_acc(dtoken = tokenRG)
drop_create(XXX)