I am implementing a teams bot and are using Identity Server as authentication that we set up in the Bot Channel. It works fine when using
var signInLink = await (turnContext.Adapter as IUserTokenProvider).GetOauthSignInLinkAsync(turnContext, _connectionName, cancellationToken);
However, it seems like we can't add the preferred login method to the call by adding, for example, &acr_values=idp:Aad I can't find a way to add extra parameters when creating the link, I would expect it to be possible to send to GetOauthSignInLinkAsync when creating the link, however it doesn't seem to be possible.
It does not work when adding it to the link once it is created, ie https://token.botframework.com/api/oauth/signin?signin=xxx&acr_values=idp:Aad Does anyone know if it's possible to do this? or have an idea of a workaround? Regards Martin