Skip to content

Commit

Permalink
context.state.temp.duplicate_token_exchange remove
Browse files Browse the repository at this point in the history
  • Loading branch information
BMS-geodev committed Sep 16, 2024
1 parent adc7bc5 commit 9bc3e17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/packages/ai/teams/auth/sso/sso_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ async def _step_two(self, context: WaterfallStepContext) -> DialogTurnResult:
token_response = context.result

if token_response and await self._should_dedup(context.context):
context.state.temp.duplicate_token_exchange = True
return DialogTurnResult(DialogTurnStatus.Waiting)

context.state.temp.duplicate_token_exchange = False
return await context.end_dialog(token_response)

async def _should_dedup(self, context: TurnContext) -> bool:
Expand Down

0 comments on commit 9bc3e17

Please sign in to comment.