Skip to main content

This repo contains the backend plugin that implements the Persona integration to be used for id

Project description

persona-integration

PyPI CI Codecov Documentation Supported Python versions License status-badge

Purpose

This repo contains the backend plugin that implements the Persona integration to be used for id verification.

TODO: The README.rst file should start with a brief description of the repository and its purpose. Describe your repo for the audience you intend it for.

Getting Started with Development

Add real content to describe how to deploy the component, and where the documentation is. Deploying *****

TODO: How can a new user go about deploying this component? Is it just a few commands? Is there a larger how-to that should be linked here?

Add real content to describe how to deploy the component, and where the documentation is. Getting Help ********

Documentation

PLACEHOLDER: Start by going through the documentation. If you need more help see below.

(TODO: Set up documentation)

More Help

Write a paragraph explaining how people can get help with the repo. Here are some possibilities:

“This repo is available for you to use, but we are unable to provide help.”

“If you are interested in using this repo, contact <PERSON>@2u.com, and we will see what we can do.”

License

The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.

Please see LICENSE.txt for details.

Contributing

This repo is not currently accepting contributions.

The Open edX Code of Conduct

All community members are expected to follow the Open edX Code of Conduct.

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org.

Change Log

Unreleased

3.2.1

  • Added support for Django 5.2

3.2.0 2024-12-18

  • Removed the requirement on Python 3.12 or greater.

  • Added Python 3.11 to the matrix for the Python CI tests step.

  • Added Python 3.11 to the tox envlist.

3.1.0 2024-12-18

  • Updated the is_valid_status_transition API method to allow terminal status transitions.

3.0.0 2024-10-25

Added

  • Upgraded to Python 3.12

  • Dropped support for Python<3.12

2.2.0 2024-10-10

Added

  • Fix bug regarding mapping of status between this backend’s VerificationAttempt model and the one in the LMS (The definitions of the “pending” status were different between the two models).

2.1.0 2024-10-09

Added

  • Fix bug preventing VerificationAttempt model from being synchronized to the LMS.

  • Add VerificationAttempt.platform_verification_attempt_id field to admin.

2.0.4 - 2024-10-07

Added

  • Fix errors in UserPersonaAccount and VerificationAttempt Django admin forms.

2.0.3 - 2024-09-27

Added

  • Removed undesired email-related variables in Persona payload.

2.0.2 - 2024-09-27

Added

  • Add __init__.py to signals package.

2.0.1 - 2024-09-26

Added

  • Add user persona account model and admin.

  • Add VerificationAttempt model and admin to store Persona attempts.

  • Add a view to handle Persona webhooks.

  • Add a create inquiry view.

  • Add field for edx-platform VerificationAttempt model id.

  • Add event listener for user retirement signal.

  • Update name of reverse accessor on User model to resolve conflict.

  • Modify VerificationAttemptView to return inquiry_id.

  • Make several fixes to the VerificationAttemptView view and the create_inquiry API method.

  • Replace field verified_name with name_first when communicating with persona.

  • Fix an error on the payload for create_inquiry API call to Persona.

  • Sync updates to VerificationAttempt model.

2.0.0 - 2024-09-25

Added

  • Bump version.

1.0.0 - 2024-07-18

Added

  • Initial release.

  • Setup repo using template.

0.1.0 - 2024-07-18

Added

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

persona_integration-3.2.2.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

persona_integration-3.2.2-py2.py3-none-any.whl (48.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file persona_integration-3.2.2.tar.gz.

File metadata

  • Download URL: persona_integration-3.2.2.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for persona_integration-3.2.2.tar.gz
Algorithm Hash digest
SHA256 5d68887e240f2fdfb59768a6d70e5b7f7d30561a41ad8bfb4e1f7db3f49796cd
MD5 33b0ff1261afb1549269a1ec1011db98
BLAKE2b-256 243f261707f9134485da96d7bced40fcdce9ab881c8aeca00cba89a8adbe90fa

See more details on using hashes here.

File details

Details for the file persona_integration-3.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for persona_integration-3.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 72507599875fc3981b320fc06b630328de54cb49a322c30ad2cfacef2deda339
MD5 9e20a7c7e362ad20fd57259c83c9d4cf
BLAKE2b-256 7a141718e112e635293e92403415be8596317bf58931bd1120318ef7adb4e793

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page