-
Notifications
You must be signed in to change notification settings - Fork 0
SCAL-233969: Add preauth info call, emit Info call success event Iframe load #100
base: main
Are you sure you want to change the base?
Conversation
commit: |
…PreauthCache to control cache from Embed params
@@ -167,6 +172,7 @@ export async function notifyAuthSuccess(): Promise<void> { | |||
return; | |||
} | |||
try { | |||
getPreauthInfo(); | |||
const sessionInfo = await getSessionInfo(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we replace this getSessionInfo
with the getPreauthInfo
here? Better to avoid multiple api calls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or update the getSessionInfo
to call getPreauthInfo
internally and replace the dependency on old /info
call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is decided with TSE to keep both APIs as older customers won't have preauth info API. Check more detail here - https://thoughtspot.slack.com/archives/C082G97N8BZ/p1732810938126219
No description provided.