Skip to content

Comments

Add CherryPy server hostname and port control#152

Merged
brad merged 1 commit intoorcasgit:masterfrom
mtoshi:add_cherrypy_hostname_and_port_control
Aug 12, 2019
Merged

Add CherryPy server hostname and port control#152
brad merged 1 commit intoorcasgit:masterfrom
mtoshi:add_cherrypy_hostname_and_port_control

Conversation

@mtoshi
Copy link
Contributor

@mtoshi mtoshi commented Aug 12, 2019

I could not receive callback on other than 8080 port.

Maybe the reason is that redirect uri port number is not reflected to CherryPy server settings.

I added CherryPy server hostname and port settings same with redirect uri values.

Please check with another port number setting like this.

# gather_keys_oauth2.py

redirect_uri = 'http://127.0.0.1:8081/'
server = OAuth2Server(*sys.argv[1:], redirect_uri=redirect_uri)
server.browser_authorize()

@brad
Copy link
Member

brad commented Aug 12, 2019

@mtoshi Thanks for the pull request!

@brad brad merged commit 6a0a7cb into orcasgit:master Aug 12, 2019
almliden pushed a commit to almliden/python-fitbit that referenced this pull request Jan 4, 2021
…_port_control

Add CherryPy server hostname and port control
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

Successfully merging this pull request may close these issues.

2 participants