Auth0 Home Blog Docs

Kivy python framework - any examples?

python
#1

Hi,

I am using the Python based Kivy framework to develop mobile applications.

I’m trying to use Auth0 to run OIDC for me. I want Kivy to use Auth0 to get tokens that it can present to my API backend.

I’m using Python 3.5 and whenever I use the Auth0 library I get an error about SSL timing out.

The following code times out:

from auth0.v3.authentication import Social
social = Social('https://my-tenant.eu.auth0.com')
social.login(client_id='secret', access_token='secret', connection='google')

with the error:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘https’, port=443): Max retries exceeded with url: //my-tenant/oauth/access_token Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7f43b39f3cc0>: Failed to establish a new connection: [Errno 110] Connection timed out’,))

I have no idea how to spawn the browser to display the login screen to the user, or how to get the redirect back from Auth0.

Are there any examples of how to do this?

#3

Hey @andybeak

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

closed #4

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.