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.
Release files for navigator-auth 0.28.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| navigator_auth-0.28.0.tar.gz | 854.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| navigator_auth-0.28.0-cp314-cp314-manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.28+ x86-64 | Details |
| navigator_auth-0.28.0-cp313-cp313-manylinux_2_28_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.28+ x86-64 | Details |
| navigator_auth-0.28.0-cp312-cp312-manylinux_2_28_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.28+ x86-64 | Details |
| navigator_auth-0.28.0-cp311-cp311-manylinux_2_28_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.28+ x86-64 | Details |
| navigator_auth-0.28.0-cp310-cp310-manylinux_2_28_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.28+ x86-64 | Details |
Total release size: 14.6 MB