🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

armasec

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

armasec - pypi Package Compare versions

Comparing version
2.0.2
to
2.0.3
+1
-2
armasec_cli/auth.py

@@ -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 @@ ),

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

[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>"]