refactor(jans-cedarling): make all tokens optional when calling Cedarling::authorize #10408
Labels
comp-jans-cedarling
Touching folder /jans-cedarling
enhancement
kind-enhancement
Issue or PR is an enhancement to an existing functionality
Milestone
Is your feature request related to a problem? Please describe.
Cedarling currently requires all three tokens--
access_token
,id_token
,userinfo_token
-- for every request.Describe the solution you'd like
Only one token is required, and the Cedarling should create the entities to the best of its ability based on the token(s) it has.
Additional context
CEDARLING_USER_AUTHZ
is enabled; if it is, then the user entity is requiredCEDARLING_WORKLOAD_AUTHZ
enabled; if it is, then the workload entity is requiredCEDARLING_USER_AUTHZ
andCEDARLING_WORKLOAD_AUTHZ
is disabled, error on startupThe text was updated successfully, but these errors were encountered: