Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab authentication with thirdparty identity provider, calling backend with cookie #1278

Open
chandraarora opened this issue May 27, 2024 · 6 comments
Assignees

Comments

@chandraarora
Copy link

chandraarora commented May 27, 2024

Hi

I am not able to send cookie from ny teams tab app to my backend server with cookie. I am trying to avoid to get the access token inside the teams app rather sending the auth cookie to call backend api. All your example are getting the token client side. would it be possible to share a sample for this? Please see the drawing and i am not able to get success at step 7. Is this possible using teams app?

image

Best regards
Chandra

@Prasad-MSFT
Copy link
Collaborator

Thanks for raising your issue. We will check this at our end and will update you accordingly.

@Prasad-MSFT
Copy link
Collaborator

@chandraarora - We are having trouble reproducing the issue. Could you please share a network trace showing the cookies getting dropped?

@chandraarora
Copy link
Author

chandraarora commented May 29, 2024 via email

@Prasad-MSFT
Copy link
Collaborator

@chandraarora - Exactly the same problem with us. We checked this sample repo and having trouble to repro your scenario as there is no such sample that fits the requirement.

@chandraarora
Copy link
Author

chandraarora commented May 29, 2024 via email

@Prasad-MSFT
Copy link
Collaborator

You can refer this sample as a starting point:
https://github.com/ydogandjiev/microsoft-teams-cookie-app

You can sideload it via the app package found here:
https://github.com/ydogandjiev/microsoft-teams-cookie-app/raw/master/package/cookie-app.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants