Navigator Auth
Navigator Auth is an Authentication/Authorization toolkit for aiohttp or Navigator, based on Asyncio.
Introduction
- Quick summary
- Version
- Learn Markdown
Getting Started
- Installation
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
Requirements
- Python >= 3.9
- asyncio (https://pypi.python.org/pypi/asyncio/)
- aiohttp >= 3.8
- Navigator-API >= 2.1
Authentication Methods
Selected via the X-Auth-Method header on POST /api/v1/login (value =
the backend's class name):
X-Auth-Method |
Backend | Notes |
|---|---|---|
BasicAuth |
Username/password | |
TokenExchangeAuth |
External Token Exchange | Exchange an already-issued Azure/Google/GitHub bearer token for a session without a browser redirect. See the "Token Exchange" documentation page. |
AzureAuth |
Microsoft Azure AD / ADFS | |
GoogleAuth |
||
GithubAuth |
GitHub OAuth2 | |
ADFSAuth |
Microsoft ADFS (OIDC) | |
OktaAuth |
Okta | |
SAMLAuth |
SAML 2.0 Service Provider | Delegates login to an external IdP (Okta, Entra ID, a partner IdP). See the "SAML Authentication" documentation page. |
SAMLIdentityProvider |
SAML 2.0 Identity Provider | Issues signed assertions for the current session to registered external SPs (e.g. Verizon Connect); never appears in X-Auth-Method//api/v1/auth/methods (hidden = True) since it never authenticates a login itself. |
Oauth2Provider |
Navigator-as-OAuth2-Authorization-Server | For MCP/AI-agent and 3rd-party client flows. |
License
Navigator_Auth is copyright of Jesus Lara (https://phenobarbital.info) and is under Apache 2 license. I am providing code in this repository under an open source license, remember, this is my personal repository; the license that you receive is from me and not from my employeer.
Metadata
Release files for navigator-auth 0.29.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| navigator_auth-0.29.2.tar.gz | 1.3 MB | Without provenance | Details for navigator_auth-0.29.2.tar.gz |
Built distributions (wheels)
Total release size: 29.4 MB
Security for navigator-auth 0.29.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.