Hi,
I tried to link djangoCMS to discourse, it’s not really easy for me, I’m not really a developer, so I’d rather not do code.
So i don’t understand why it’s not possible to use simple tools like django-oauth-toolkit and it’s every time specific code.

Warning
When comparing the output of hexdigest() to an externally-supplied digest during a verification routine, it is recommended to use the compare_digest() function instead of the == operator to reduce the vulnerability to timing attacks.