codeforamerica/recordtrac

Is persona still used?

Opened this issue · 1 comments

The docs claim that persona is used for authorization, but I do not see code for it and persona is being shut down soon.

Hi! Thanks for your question; I realize it's not obvious how Persona is integrated into the project. We use(d) a Flask extension called flask-browserid to integrate with Persona. https://github.com/garbados/flask-browserid Unfortunately, it is no longer maintained, but it should work as-is in the project until they shut down this November. It'll be good to update it before then. For now, you can see the references in our code here: https://github.com/codeforamerica/recordtrac/search?utf8=%E2%9C%93&q=browserid

# Following three functions are for integration with Mozilla Persona

A bit of history - we introduced Persona as a way of making RecordTrac more redeployable, but to date no cities that use RecordTrac or a fork of RecordTrac (NYC and Oakland) are using it, so it's not in production anywhere yet. The city of Yakima uses a PHP version of RecordTrac - @randybondsjr do you know if Yakima is utilizing Persona or not?

One option is to merge back in code those cities are on to handle log-ins; another is to wait and see what more common use cases are. Thank you for flagging this though!