* add missing ConnectionName * Fix for change in API signature. Co-authored-by: Lee Parrish <30470292+LeeParrishMSFT@users.noreply.github.com>
This commit is contained in:
Родитель
d936ed0e28
Коммит
51bbcd365c
|
@ -1,3 +1,4 @@
|
|||
MicrosoftAppId=
|
||||
MicrosoftAppPassword=
|
||||
server.port=3978
|
||||
ConnectionName=
|
||||
|
|
|
@ -184,7 +184,7 @@ public class TeamsMessagingExtensionsSearchAuthConfigBot extends TeamsActivityHa
|
|||
.thenCompose(response -> {
|
||||
if (response == null || StringUtils.isEmpty(response.getToken())) {
|
||||
// There is no token, so the user has not signed in yet.
|
||||
return tokenProvider.getOauthSignInLink(turnContext, connectionName)
|
||||
return tokenProvider.getOAuthSignInLink(turnContext, connectionName)
|
||||
.thenApply(link -> new MessagingExtensionResponse() {{
|
||||
setComposeExtension(new MessagingExtensionResult() {{
|
||||
setType("auth");
|
||||
|
|
Загрузка…
Ссылка в новой задаче