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

BoxClient to handle empty strings for AccessToken and RefreshToken #309

Open
theteladras opened this issue Jun 2, 2022 · 3 comments
Open

Comments

@theteladras
Copy link

It would be super nice if the SDKs DropboxClient would also handle empty string values for the AccessToken and RefreshToken. The issue it creates is that the requirement of manual checking values before instantiating the class.

Make use the string.IsNullOrEmpty for the access token and refresh token arguments in the constructor instead of accessToken === null.
So to be something like this:
image

@greg-db
Copy link
Contributor

greg-db commented Jun 2, 2022

Thanks! I'll pass this request along to the team but I can't promise if or when that might be implemented.

@olavolsf
Copy link

Hi, I am trying to make this solution work for a website. I can make it work locally (localhost), but when I try to go to production in the server, the LoopbackHost = "http://127.0.0.1:52475/" does not work, as expected. Anyone knows how can I modify this entry so that it could run in a web host?

@greg-db
Copy link
Contributor

greg-db commented Aug 26, 2022

@olavolsf Your question doesn't seem related to this issue, and I see you also posted it on the forum anyway, so I'll follow up with you there.

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

No branches or pull requests

3 participants