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

boxr redirect_uri_mismatch Error #231

Open
stephbuon opened this issue Aug 11, 2022 · 2 comments
Open

boxr redirect_uri_mismatch Error #231

stephbuon opened this issue Aug 11, 2022 · 2 comments

Comments

@stephbuon
Copy link

Hello! I am wondering if I can ask for your help on this:

I am trying to use boxr to read files from Box's API.

The set up seems pretty simple. I created a Box app. I then copy/pasted the client secret and client ID into box_auth()

library(boxr)
box_auth(client_id = "<placeholder>", client_secret = "<placeholder>")

When I do this I am taken to a new page that says:

There seems to be a problem with this app. 
Error: redirect_uri_mismatch 

I cannot find the solution in the documentation or on Stack Overflow. Am I missing a step? Thank you so much for your time and help.

@nathancday
Copy link
Member

Maybe the closed issue #230 will help you?

@ijlyttle
Copy link
Member

ijlyttle commented Jan 2, 2024

I am just getting back into this package after spending too much time away.

It took me a while to get an OAuth2 app working, and this was one of the problems (the other was that I had to give the app permissions to write to Box).

In this case, I had to specify the URI in the app as http://localhost:1410/, instead of http://localhost.

I'll write up the other thing as an issue, and make a PR to improve the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants