Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ async def link(
RequestValidation.get_component().validate_request(link_request)

# Construct ID from auth credentials
constructed_id = (
await StrategyHelper().get_component().construct_id(auth_credentials)
)
# constructed_id = (
# await StrategyHelper().get_component().construct_id(auth_credentials)
# )
constructed_id = auth_credentials.sub

# Replace ID with constructed ID from auth for each request
# Also construct FA and add additional_info for each request
Expand Down Expand Up @@ -160,9 +161,10 @@ async def resolve(
# Validate request structure
RequestValidation.get_component().validate_request(resolve_request)
# Construct ID from auth credentials
constructed_id = (
await StrategyHelper().get_component().construct_id(auth_credentials)
)
# constructed_id = (
# await StrategyHelper().get_component().construct_id(auth_credentials)
# )
constructed_id = auth_credentials.sub

# Replace ID with constructed ID from auth for each request
for (
Expand Down Expand Up @@ -210,9 +212,10 @@ async def unlink(
RequestValidation.get_component().validate_request(unlink_request)

# Construct ID from auth credentials
constructed_id = (
await StrategyHelper().get_component().construct_id(auth_credentials)
)
# constructed_id = (
# await StrategyHelper().get_component().construct_id(auth_credentials)
# )
constructed_id = auth_credentials.sub

# Replace ID with constructed ID from auth for each request
for (
Expand Down Expand Up @@ -258,9 +261,10 @@ async def update(
RequestValidation.get_component().validate_request(update_request)

# Construct ID from auth credentials
constructed_id = (
await StrategyHelper().get_component().construct_id(auth_credentials)
)
# constructed_id = (
# await StrategyHelper().get_component().construct_id(auth_credentials)
# )
constructed_id = auth_credentials.sub

# Replace ID with constructed ID from auth for each request
# Also construct FA and add additional_info for each request
Expand Down
Loading