django-planet
Aug. 20, 2024

How To Use PyJWT With Django In A Resource Server And Still Keep Parts Of Your Sanity

published by Henryk Plötz
in blog Tinker, Tamper, Alter, Fry
original entry How To Use PyJWT With Django In A Resource Server And Still Keep Parts Of Your Sanity

The OAuth2 spec cleanly separates the role of Authorization Server (AS) from that of Resource Server (RS). The role of the AS, and the whole OAUTH2 dance, is to get an access token that will be accepted by a RS.It’s puzzling. It should be easy, nay, trivial, to implement the Resource Server side in Django, […]