openfun / jitsi-magnify

An authentication and room management system for Jitsi built with Django/React
MIT License
23 stars 6 forks source link

Create jwt with pyjwt #1

Closed gowoons closed 2 years ago

gowoons commented 2 years ago

Purpose

Change jwt management by using pyjwt directly instead of rest simplejwt module. This allows better modularity and simplicity.

Proposal

sampaccoud commented 2 years ago

You could add a simple test by doing that makes a GET on your endpoint and checks that the redirect is made as expected. See https://docs.djangoproject.com/en/2.0/topics/testing/tools/#django.test.SimpleTestCase.assertRedirects