Settings: OIDC endpoints validation #1

Open
opened 2026-06-15 20:33:11 +00:00 by bcollet · 0 comments
Owner
  • Check that either oidc_issuer_endpoint is set or both oidc_authorization_endpoint and oidc_token_endpoint are.
  • Check that oidc_issuer_endpoint, oidc_authorization_endpoint, oidc_token_endpoint and ca_url are actual URLs if set.

# FIXME: Validate url?
oidc_issuer_endpoint: str | None = None
oidc_authorization_endpoint: str | None = None
oidc_token_endpoint: str | None = None
# FIXME: check that either issuer is set or both auth and token are
# FIXME: Validate url?
ca_url: str

- Check that either `oidc_issuer_endpoint` is set or both `oidc_authorization_endpoint` and `oidc_token_endpoint` are. - Check that `oidc_issuer_endpoint`, `oidc_authorization_endpoint`, `oidc_token_endpoint` and `ca_url` are actual URLs if set. https://git.alt.tf/altnet/altnet-user-certs/src/commit/cec66aa45e0fca5b233eb3794776bb487d30e245/altnet_user_certs/config.py#L22-L28
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
altnet/altnet-user-certs#1
No description provided.