Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop_create() authentication error #68

Open
nadeem-mojo opened this issue Jul 12, 2017 · 4 comments · May be fixed by #171
Open

drop_create() authentication error #68

nadeem-mojo opened this issue Jul 12, 2017 · 4 comments · May be fixed by #171

Comments

@nadeem-mojo
Copy link

nadeem-mojo commented Jul 12, 2017

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?

@karthik
Copy link
Owner

karthik commented Jul 28, 2017

Looking into this @nadeem-mojo
Will report back.

@jcolomb
Copy link

jcolomb commented Jul 5, 2019

Same problem here!

@jcolomb
Copy link

jcolomb commented Jul 5, 2019

I think it worked with R3.5 and breaks with 3.6, but I am not sure

@jcolomb
Copy link

jcolomb commented Jul 8, 2019

simple workaround:

drop_acc(dtoken = tokenRG)
drop_create(XXX)

jcolomb added a commit to jcolomb/rdrop2 that referenced this issue Jul 8, 2019
I hope it makes it easier to understand and it insist on the problems with drop_create (see karthik#68 )
@jcolomb jcolomb linked a pull request Jul 8, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants