Skip to main content

mitid_connect

Log in through MitID from Python: an unofficial implementation of MitID's browser client. It authenticates with the MitID app - by QR code or one-time code - or with a code token, and gives back the authorization code that the service being logged in to exchanges for its own tokens.

from mitid_connect import BrowserClient

client = BrowserClient(client_hash, authentication_session_id)
authenticators = client.identify_as_user_and_get_available_authenticators("username")
client.authenticate_with_app()            # approve in the MitID app
code = client.finalize_authentication_and_get_authorization_code()

client_hash and authentication_session_id come from the service's NemLog-in page; get_authentication_code does all of the above from that page's parameters.

It is used by aula_connect to log in to Aula.

Origin and licence

It carries on MitID-BrowserClient by Hundter, under the MIT licence (LICENSE).

Metadata

Release files for mitid-connect 0.0.1

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

Source distribution (sdist)

Source distribution for mitid-connect 0.0.1
File Size Uploaded Provenance Actions
mitid_connect-0.0.1.tar.gz 22.3 kB With provenance Details for mitid_connect-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mitid-connect 0.0.1
File Interpreter ABI Platform Actions
mitid_connect-0.0.1-py3-none-any.whl Python 3 none any Details for mitid_connect-0.0.1-py3-none-any.whl

Total release size: 36.1 kB

Release files / mitid_connect-0.0.1.tar.gz

Download URL mitid_connect-0.0.1.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1e20ada9dfcbb534e5646016ce76e3bb752e68c9dd8048ae0e374fe8436860ca
BLAKE2b-256 checksum
How to use checksums
506d6ab62c7fb8fdc16dcf71dc6c4e12b614aa2e715e39c4f736b3f8e44f118a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / mitid_connect-0.0.1-py3-none-any.whl

Download URL mitid_connect-0.0.1-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a210f08fdea1d9c271ebc6ed80ad27c895f9733f6dd946bc885dbafe6c54487c
BLAKE2b-256 checksum
How to use checksums
4178d7a02709b43e5149cbb9c03d0445edfa4ca9ef9e26c2b113821a562b07d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for mitid-connect 0.0.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mitid_connect-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

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