Skip to main content

Connector IdP routing

Sends a subject to the IdP a managed resource forwards credentials from when the AS holds no forwardable token from it, and keeps that resource out of a token issued without one.

  • Control id: idp_passthrough
  • Shape: obligation. Segment bindings do not reach this control, because its Rego does not read settings through pbac.segments.settings.
  • Entry points: token, authorize
  • Phases: introspect
  • Enforced at: as, gateway

Policy data​

pbac.controls.idp_passthrough​

  • Role: projection
  • Written by: platform
SettingTypeDefault

Reads​

  • resources[].type
  • resources[].id
  • subject.upstream_idps
  • context.entrypoint
  • context.rs_context.resource_name

Emits​

  • subject_obligations
  • rs_obligations
  • deny

Reason codes​

CodeCategoryEntry pointSetting
requires_idpinvarianttokennone

Implementation​

KindReferenceFilesRole
rego_packagepbac.controls.idp_passthroughopa/policies/pbac/controls/idp_passthrough.rego, opa/policies/pbac/controls/idp_passthrough_gateway.regodecides
javacom.identos.pbac.gateway.connectors.RequiredIdpProjectionServicesrc/main/java/com/identos/pbac/gateway/connectors/RequiredIdpProjectionService.javacomputes_fact