Different meeting stage for host and guest
Environment: teams web and desktop (new version 1415/24031414721), asp core 6, third party cookies
host = user that starts teams app, logs in (authenticates) and invokes shareAppContentToStage
guest = all others users
1. manifest loads sidebar via manifest config (for example configurationURL: https://test.de/sidebar)
2. sidebar contains Login button with authenticates against https://test.de/login
3. sucessfull Login (cookie authentication) in iFrame => sidebar will redirected to https://test.de/host
4. javascript of host calls “microsoftTeams.meeting.shareAppContentToStage(handleShareScreenAction, `https://test.de/guestorhost`);”
5. endpoint /guestorhost checks if request is authenticated (in this example only user with sidebar logged in)
5.1 If request authenticated => redirect to ‘https://test.de/hoststage‘
5.2 If request NOT authenticated => redirect to ‘https://test.de/gueststage‘
Expected result: host should always get /hoststage, guest should always get /gueststage
Current result: sometimes it is working probably, sometimes host gets /gueststage or nothing
My guess is that third party cookies is not working stable and sometimes they are send and sometimes not.
Environment: teams web and desktop (new version 1415/24031414721), asp core 6, third party cookies host = user that starts teams app, logs in (authenticates) and invokes shareAppContentToStageguest = all others users 1. manifest loads sidebar via manifest config (for example configurationURL: https://test.de/sidebar)2. sidebar contains Login button with authenticates against https://test.de/login3. sucessfull Login (cookie authentication) in iFrame => sidebar will redirected to https://test.de/host4. javascript of host calls “microsoftTeams.meeting.shareAppContentToStage(handleShareScreenAction, `https://test.de/guestorhost`);”5. endpoint /guestorhost checks if request is authenticated (in this example only user with sidebar logged in) 5.1 If request authenticated => redirect to ‘https://test.de/hoststage’ 5.2 If request NOT authenticated => redirect to ‘https://test.de/gueststage’Expected result: host should always get /hoststage, guest should always get /gueststageCurrent result: sometimes it is working probably, sometimes host gets /gueststage or nothing My guess is that third party cookies is not working stable and sometimes they are send and sometimes not. Read More