armasec
Advanced tools
@@ -147,3 +147,2 @@ from __future__ import annotations | ||
| """ | ||
| print("MAKE THIS FUCKING THING USE THE BASE URL") | ||
| url = "/protocol/openid-connect/token" | ||
@@ -156,3 +155,3 @@ logger.debug(f"Requesting refreshed access token from {url}") | ||
| ctx.client, | ||
| "/protocol/openid-connect/token", | ||
| url, | ||
| "POST", | ||
@@ -159,0 +158,0 @@ abort_message="The auth token could not be refreshed. Please try logging in again.", |
| import json | ||
| from functools import wraps | ||
| from pathlib import Path | ||
| from typing import Optional | ||
@@ -24,3 +25,3 @@ import snick | ||
| oidc_domain: str | ||
| oidc_audience: str | ||
| oidc_audience: Optional[str] = None | ||
| oidc_client_id: str | ||
@@ -27,0 +28,0 @@ oidc_use_https: bool = True |
@@ -89,3 +89,3 @@ from __future__ import annotations | ||
| audience: str = typer.Option( | ||
| ..., | ||
| None, | ||
| help="The audience required by your OIDC provider", | ||
@@ -92,0 +92,0 @@ ), |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: armasec | ||
| Version: 2.0.2 | ||
| Version: 2.0.3 | ||
| Summary: Injectable FastAPI auth via OIDC | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/omnivector-solutions/armasec |
+1
-1
| [tool.poetry] | ||
| name = "armasec" | ||
| version = "2.0.2" | ||
| version = "2.0.3" | ||
| description = "Injectable FastAPI auth via OIDC" | ||
@@ -5,0 +5,0 @@ authors = ["Omnivector Engineering Team <info@omnivector.solutions>"] |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
94741
-0.04%