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

Unable to get SSO token in outlook after updating to CloudAdapter #10888

Open
Vignesh-s-s opened this issue May 16, 2024 · 5 comments
Open

Unable to get SSO token in outlook after updating to CloudAdapter #10888

Vignesh-s-s opened this issue May 16, 2024 · 5 comments
Assignees

Comments

@Vignesh-s-s
Copy link

Steps to reproduce

We have been using botframework adapter for our url unfurling scenario, we were able to get the card urfurling work fine in both Teams and Outlook with the SSO token, but after updating to CloudAdapter - https://learn.microsoft.com/en-us/javascript/api/botbuilder/cloudadapter?view=botbuilder-ts-latest
we see that the SSO token is not returned.

While we debugged we found that below code that we use with CloudAdapter, the token response comes as undefined

const tokenResponse = await userTokenClient.getUserToken(
context.activity.from.id,
'OAuthConnectionName',
context.activity.channelId,
magicCodeString
);

    However we get the token response in case of MS Teams and hence the unfurling works there. Looks like this is an outlook specific issue with CloudAdapter usage.

Botframework adapter vs Cloud Adapter.docx

Expected behavior

SSO token should be returned in Outlook when unfurling

Actual behavior

SSO token is not returned in Outlook when unfurling

Error details

No response

Copy link
Contributor

Hi Vignesh-s-s! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@Vaibhav-MSFT
Copy link

Hello @Vignesh-s-s ,
Thanks for reporting your issue. We will test this and update you accordingly.

@Vaibhav-MSFT
Copy link

Hello @Vignesh-s-s ,
Sorry for the delay in response. We are also experiencing some issues with Cloud Adapter but not exactly able to repro the issue. Will provide you update asap.

@Vignesh-s-s
Copy link
Author

@Vaibhav-MSFT
Can you please elaborate what issues are you facing with cloud adapter?

@Vaibhav-MSFT
Copy link

@Vignesh-s-s ,
There are some more users who are encountering errors related to token in outlook also we are testing this using multiple samples to confirm if there is any issue related to it in outlook. We will provide you with updates accordingly.

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