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

Implement a utility HTTP server/interface #563

Closed
Tracked by #561
randomir opened this issue Aug 23, 2023 · 0 comments · Fixed by #582
Closed
Tracked by #561

Implement a utility HTTP server/interface #563

randomir opened this issue Aug 23, 2023 · 0 comments · Fixed by #582
Labels

Comments

@randomir
Copy link
Member

randomir commented Aug 23, 2023

Local web server is needed to handle redirects from Leap and exchange the authorization code for token (see #561), without further user intervention (like manually pasting the code).

We already implement a simple web server in https://github.com/dwavesystems/dwave-inspector, one that is based on the built-in WSGIServer and WSGIRequestHandler, and that it runs Flask.

We might want to either:

  • move the dwave-inspector server implementation over to the cloud-client (since it's a dependency anyway); or
  • implement a new server based on off-the-shelf werkzeug.run_simple, or similar.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant