Skip to content

Instantly share code, notes, and snippets.

View icereval's full-sized avatar
🐈

Michael Haselton icereval

🐈
View GitHub Profile
@icereval
icereval / 01_complete_authentication_as_api.md
Created August 12, 2018 17:38 — forked from dgilge/01_complete_authentication_as_api.md
How to implement all needed auth endpoints including login with OAuth2 for a SPA using Django REST framework, django-rest-auth and django-allauth

Complete authentication as API including OAuth2 endpoints

I implemented an auth API for a SPA. This is rarely documented and therefore I want to share here how I did it hoping it will be a help for others.

We are still working on it and I'll update this document accordingly.

This tutorial uses following versions:

Package Version
@icereval
icereval / README.md
Last active August 29, 2015 14:12 — forked from laserson/README.md

Create a FlameGraph to visualize where your code is spending its time.

Requires plop and FlameGraph.