This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

firebase-token-generator-python is no longer maintained

Description

edx-platform uses firebase-token-generator-python (see edx-platform/requirements/edx/base.in) to generate tokens. This library is deprecated and is no longer maintained.

If we swap this library for another, it'd be nice to find a new library that contains both encode and decode token methods so we can enhance the existing unit test: https://github.com/edx/edx-platform/blob/a439d5164c07e4695181b15244e8e5c7681421c4/common/lib/xmodule/xmodule/tests/test_annotator_token.py

Firebase Admin SDK for Python is the replacement recommended by the existing library.

https://github.com/googlearchive/firebase-token-generator-python

Activity

Nimisha Asthagiri August 1, 2019 at 10:58 PM

Nimisha Asthagiri August 1, 2019 at 10:43 PM
Edited

It doesn’t look like this code is even called in edx-platform. The retrieve_token function is called only from lms/djangoapps/notes, which is no longer used, per .

So I believe this can just be removed.

 

Unresolved
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Removal Date

Deprecation Proposal Accepted Date

Priority

Zendesk Support

Created January 30, 2019 at 8:37 PM
Updated September 29, 2020 at 6:46 PM