You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to successfully communicate to my bot from the webex chat app.
Now I need to let my users authenticate themselves via 3rd party identity providers such as Google and Microsoft. To do that, I use the Oauth Login Prompt option in the composer. However, when I try to run that with Webex, I get the error below from the bot service:
System.NotSupportedException: OAuth prompt is not supported by the current adapter
at Microsoft.Bot.Builder.Dialogs.UserTokenAccess.GetUserTokenAsync(ITurnContext turnContext, OAuthPromptSettings settings, String magicCode, CancellationToken cancellationToken)
Is there any other way for me to use this webex adapter and let the users authenticate via 3rd party identity service providers? Thanks.
The text was updated successfully, but these errors were encountered:
Hello Team,
I have developed a bot using Bot Framework Composer (v2.1.2 dotnet/C#) and deployed the same as Azure Bot Service. In the bot framework composer, I installed the nuget package 'Bot.Builder.Community.Adapters.Webex'. And, made the changes below:
appsettings.json:
{
...
"runtimeSettings": {
"adapters": [
{
"name": "Microsoft.WebexAdapter",
"enabled": true,
"route": "webex",
"type": "Bot.Builder.Community.Adapters.Webex.WebexAdapter"
}
],
...
"components": [
{
"name": "Bot.Builder.Community.Adapters.Webex",
"settingsPrefix": "Bot.Builder.Community.Adapters.Webex"
}
],
...
}
...
"WebexAccessToken": "xxxxx",
"WebexPublicAddress": "https://webexapis.com/v1/",
"WebexSecret": "xxxxx",
"WebexWebhookName": "xxxxx",
...
}
Startup.cs:
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers().AddNewtonsoftJson(options => {
options.SerializerSettings.MaxDepth = 128; //HttpHelper.BotMessageSerializerSettings.MaxDepth;
});
services.AddSingleton<IBotFrameworkHttpAdapter, WebexAdapter>();
....
}
I am able to successfully communicate to my bot from the webex chat app.
Now I need to let my users authenticate themselves via 3rd party identity providers such as Google and Microsoft. To do that, I use the Oauth Login Prompt option in the composer. However, when I try to run that with Webex, I get the error below from the bot service:
System.NotSupportedException: OAuth prompt is not supported by the current adapter
at Microsoft.Bot.Builder.Dialogs.UserTokenAccess.GetUserTokenAsync(ITurnContext turnContext, OAuthPromptSettings settings, String magicCode, CancellationToken cancellationToken)
Is there any other way for me to use this webex adapter and let the users authenticate via 3rd party identity service providers? Thanks.
The text was updated successfully, but these errors were encountered: