Add KeyCape PKCE browser sessions
This commit is contained in:
parent
654880ec91
commit
67ad2af640
6 changed files with 224 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ from user_engine.adapters import (
|
|||
VerifiedIdentityClaimsAdapter,
|
||||
)
|
||||
from user_engine.service import UserEngineService
|
||||
from user_engine.oidc import OIDCClient
|
||||
from user_engine.web import PortalApplication
|
||||
|
||||
|
||||
|
|
@ -43,6 +44,12 @@ def create_application() -> PortalApplication:
|
|||
login_url=_required("USER_ENGINE_LOGIN_URL"),
|
||||
public_registration=os.environ.get("USER_ENGINE_PUBLIC_REGISTRATION", "false").lower()
|
||||
== "true",
|
||||
oidc_client=OIDCClient(
|
||||
issuer=_required("USER_ENGINE_OIDC_ISSUER"),
|
||||
client_id=_required("USER_ENGINE_OIDC_CLIENT_ID"),
|
||||
redirect_uri=_required("USER_ENGINE_OIDC_REDIRECT_URI"),
|
||||
audience=_required("USER_ENGINE_OIDC_AUDIENCE"),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue