Skip to main content

Authentication system for Macrostrat and related apps

Project description

Macrostrat authentication system

This module contains tools to manipulate Macrostrat's user authentication system. It is divided into two submodules:

  • macrostrat.auth_system.legacy: A JWT-based authentication system relying on local storage of hashed passwords. This system was created as part of Sparrow and is being phased out in favor of a more modern system based on ORCID.
  • macrostrat.auth_system.oauth: An ORCID-based user authentication system. This system will become the primary authentication system for Macrostrat.

We plan to gradually converge the functionality of both versions while phasing out the legacy system.

Key planned functionality

  • Allow many Macrostrat-hosted services to easily integrate with Macrostrat's login and token flow
  • Allow APIs to easily validate user credentials and tokens with minimum overhead
  • Allow access to be checked in multiple ways:
    • Cookies and headers
    • Limited-time JWT tokens and long-duration, cancelable API tokens
    • Verify against Macrostrat "user group" or application-specific criteria ( e.g., a list of authorized ORCID IDs)

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

macrostrat_auth_system-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

macrostrat_auth_system-0.1.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file macrostrat_auth_system-0.1.0.tar.gz.

File metadata

  • Download URL: macrostrat_auth_system-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.5 Darwin/24.0.0

File hashes

Hashes for macrostrat_auth_system-0.1.0.tar.gz
Algorithm Hash digest
SHA256 31643804de1a11dad060b63497ee5d69552420ad384adf52231da7dadea882fe
MD5 a287b1f38b5f4eed586cf250609a5b00
BLAKE2b-256 920046041c367acb40fe9a5c054ae772f16efb939ffc67ebe006e59bf8eeb77f

See more details on using hashes here.

File details

Details for the file macrostrat_auth_system-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for macrostrat_auth_system-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9009efebcb7e78a5d2830ed7b11f120ab0e98ef98a4da83b24619f2f64508cd4
MD5 0192213e25b3f2a0ccd61d053b87933c
BLAKE2b-256 6b3cf8bb10bb5e4cca39b9f56d628e36d29bf139a07d529192ac9c000cc22503

See more details on using hashes here.

Supported by

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