Skip to main content

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.

Metadata

Release files for persona-integration 3.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for persona-integration 3.2.2
File Size Uploaded Provenance
persona_integration-3.2.2.tar.gz 46.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for persona-integration 3.2.2
File Interpreter ABI Platform
persona_integration-3.2.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 94.7 kB

Release files / persona_integration-3.2.2.tar.gz

Download URL persona_integration-3.2.2.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5d68887e240f2fdfb59768a6d70e5b7f7d30561a41ad8bfb4e1f7db3f49796cd
BLAKE2b-256 checksum
How to use checksums
243f261707f9134485da96d7bced40fcdce9ab881c8aeca00cba89a8adbe90fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / persona_integration-3.2.2-py2.py3-none-any.whl

Download URL persona_integration-3.2.2-py2.py3-none-any.whl
Size 48.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
72507599875fc3981b320fc06b630328de54cb49a322c30ad2cfacef2deda339
BLAKE2b-256 checksum
How to use checksums
7a141718e112e635293e92403415be8596317bf58931bd1120318ef7adb4e793
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Security for persona-integration 3.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page