Try without groupId
All checks were successful
ci/woodpecker/push/docker Pipeline was successful

This commit is contained in:
Oliver Traber 2024-04-20 18:19:33 +02:00
parent 970da93192
commit 7a6495b405

View file

@ -52,11 +52,11 @@ class ChargePoint(cp):
db.add(db_id_token) db.add(db_id_token)
id_token_info=IdTokenInfoType( id_token_info=IdTokenInfoType(
status=AuthorizationStatusType.accepted, status=AuthorizationStatusType.accepted#,
group_id_token=IdTokenType( #group_id_token=IdTokenType(
type=IdTokenEnumType.central, #type=IdTokenEnumType.central,
id_token=str(db_id_token.owner_id) #id_token=str(db_id_token.owner_id)
) #)
) )
db_chargepoint.learn_user_id = None db_chargepoint.learn_user_id = None
db_chargepoint.learn_until = None db_chargepoint.learn_until = None
@ -68,11 +68,11 @@ class ChargePoint(cp):
) )
else: else:
id_token_info=IdTokenInfoType( id_token_info=IdTokenInfoType(
status=AuthorizationStatusType.accepted, status=AuthorizationStatusType.accepted#,
group_id_token=IdTokenType( #group_id_token=IdTokenType(
type=IdTokenEnumType.central, #type=IdTokenEnumType.central,
id_token=str(db_id_token.owner_id) #id_token=str(db_id_token.owner_id)
) #)
) )
return id_token_info return id_token_info