Forum Discussion
Bot Framework Token Service - Error building redirect URI with query params
Hello PedroKlein - Could you please share your code snippets so that we can try it from our end?
ChetanSharma-msft Sure, I am using a very similar login process as this https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-complete-auth/nodejs/bots/teamsBot.js using the Bot Framework https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-concept-authentication?view=azure-bot-service-4.0#about-the-bot-framework-token-service to manage my OAuth flow, my bot oauth config looks like this:
Without the query param siwc=true, the token service is working as expected.
- ChetanSharma-msftNov 14, 2023
Microsoft
Hello PedroKlein - We haven't implemented any sample which is passing parameters in Redirect URL.
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples
We will check with engineering team once whether it is supported or not and let you know the updates.
Meanwhile, could you please also share the exact use case that you are trying to achieve via passing parameter?- PedroKleinNov 14, 2023Copper ContributorActually the problem is that it is building the redirect_uri (wrongly) with a parameter that it is only supposed to be used in the authorization url so that our auth service can show a different UI for login.
- Sayali-MSFTNov 16, 2023
Microsoft
Hello PedroKlein - We are checking this issue with the internal team; we will let you know once we have any update.