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

✨ Add auth0 #120

Merged
merged 2 commits into from Mar 22, 2019
Merged

✨ Add auth0 #120

merged 2 commits into from Mar 22, 2019

Conversation

dankolbman
Copy link
Contributor

Adds auth0 login by allowing validation of auth0 tokens.

Fixes #118

@dankolbman dankolbman added the feature New functionality label Mar 22, 2019
@dankolbman dankolbman self-assigned this Mar 22, 2019
if key is None:
key = Auth0AuthenticationMiddleware._get_new_key()
# Cache doesn't like the public key format
# cache.set(settings.CACHE_AUTH0_KEY, key,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cache doesn't know how to serialize the key returned from from_jwk(), will need to look into this further.

Copy link
Contributor

@XuTheBunny XuTheBunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎊

@dankolbman dankolbman merged commit 9182fbf into master Mar 22, 2019
@dankolbman dankolbman deleted the add-auth0 branch March 22, 2019 21:44
@dankolbman dankolbman mentioned this pull request Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants