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

Login: unable to resolve anywhere but localhost? #2

Open
agilisium-github-admin opened this issue Jul 29, 2018 · 5 comments
Open

Login: unable to resolve anywhere but localhost? #2

agilisium-github-admin opened this issue Jul 29, 2018 · 5 comments

Comments

@agilisium-github-admin
Copy link

agilisium-github-admin commented Jul 29, 2018

How can we deploy on a remote system with the Oauth "localhost" callback restriction? For example, installing on EC2 server and accessing using external IP results in (Chrome): "This site can’t be reached localhost refused to connect. Search Google for localhost 3000 oauth Callback ..."

@sinergise-anze
Copy link
Collaborator

Unfortunately we don't have an easy solution for this at the moment. Authentication service can't allow arbitrary callback URLs for security reasons.

The other forks of this project that we know of replaced the login functionality entirely, which would probably make sense if you want to deploy the fork publicly anyway.

I will however keep this issue open so that we can maybe find a better solution / suggestion in the future.

@agilisium-github-admin
Copy link
Author

Thank you - can you provide any references to these known forks / gists where this has been done for EOBrowser?

@sinergise-anze
Copy link
Collaborator

Sorry, no - I don't think any of them are public.

@maabdelghaffar
Copy link

maabdelghaffar commented Oct 17, 2018

If you replaced the login module, Is that gonna make issue with the WMS service provided by Sentinel-hub ? I think the login was needed to be able to use the WMS call.

@sinergise-anze
Copy link
Collaborator

If you use your own instance ids there should be no issues. You can either hardcode them to the app, or you can fetch them through API calls (similar to what EO Browser does when user logs in) - whichever suits your purpose best.

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