OfficeDev / Microsoft-Teams-Samples

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
MIT License
947 stars 747 forks source link

Microsoft's token framework cancel button throws Service error -Missing required query string parameter: code #967

Open sapnaavya opened 11 months ago

sapnaavya commented 11 months ago

When user hit on the cancel button, it redirects the user to Microsoft's token framework url - https://token.botframework.com/.auth/web/redirect and that redirect URL throws this service error saying that code is missing in query params. Any idea what could be causing this issue? and where can we set this code?

image

image

microsoft-github-policy-service[bot] commented 11 months ago

Hi @sapnaavya! 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

sayali-MSFT commented 11 months ago

@sapnaavya - Thanks for reporting your issue. We will check this at our end and will get back to you.

sayali-MSFT commented 11 months ago

@sapnaavya -We are able to repro the issue, we will be checking this with internal team and let you know once we have any update. Screenshot 2023-09-20 174817

sayali-MSFT commented 11 months ago

@sapnaavya - We have raised bug for the same. We will inform you once we get any update.

sayali-MSFT commented 11 months ago

@sapnaavya -Sorry for delay in response!! We are actively checking the status of bug with engineering team and let you know the updates, if we have any.

hannesgouws096 commented 8 months ago

Just hit the same issue with Bot frameword sdk - but with directline channel

https://[token.botframework.com/.auth/web/redirect?error=access_denied&error_subcode=cancel&state=05c9355308c14be48fc2a8af3d79086e](https://token.botframework.com/.auth/web/redirect?error=access_denied&error_subcode=cancel&state=05c9355308c14be48fc2a8af3d79086e)

{ "error": { "code": "ServiceError", "message": "Missing required query string parameter: code. Url = https://token.botframework.com/.auth/web/redirect?error=access_denied&error_subcode=cancel&state=05c9355308c14be48fc2a8af3d79086e" } }

sayali-MSFT commented 8 months ago

@hannesgouws096 -We will inform the engineering team and let you know the update once we have any.