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

Add flag for cmd line for disabling Secure #103

Open
IgorShadurin opened this issue Aug 13, 2021 · 2 comments
Open

Add flag for cmd line for disabling Secure #103

IgorShadurin opened this issue Aug 13, 2021 · 2 comments

Comments

@IgorShadurin
Copy link
Collaborator

For some cases when development dfs server is located not in localhost, we should disable Secure param here

Secure: true,

When this params is enabled it is not allow to authorize dev user on hosts that differs from localhost.

It would be great to implement additional config param for disabling it.

@IgorShadurin
Copy link
Collaborator Author

It seems that this was necessary for a situation when dfs is launched on a Raspberry Pi on a host like http: //pi.local/. Then some api methods are called through the dapp in the browser. Requests are not getting through due to browser policy.

Hosts with http should not have secure = true. In the code, this option is disabled only if the hostname is localhost, but it would be necessary to disable it for any host.

@tfius
Copy link
Contributor

tfius commented May 25, 2022

could maybe be resolved with implementation of #8

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

2 participants