mcueto / djangorestframework-auth0

Library to simply use Auth0 token authentication in DRF within djangorestframework-jwt
MIT License
91 stars 19 forks source link

Thread safety with multiple clients #34

Open aarcro opened 7 years ago

aarcro commented 7 years ago

I'm looking at:

https://github.com/mcueto/djangorestframework-auth0/blob/master/rest_framework_auth0/authentication.py#L46

Where you're modifying the global config object. I'm concerned that this will get all bolluxed up if there are simultaneous requests using different client settings on a multi threaded server.

mcueto commented 5 years ago

Hi @aarcro i will reactivate the development of this package so i will try to solve this issue or at least create tests to verify what happens underneath.