question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Root bot when access skill bot ask user to login

See original GitHub issue

Description

I followed all steps in the following article to add SSO to bot https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-authentication-sso?view=azure-bot-service-4.0&tabs=csharp%2Ceml also this link to connect to skill bot https://docs.microsoft.com/en-us/composer/how-to-single-sign-on-skill Add app settings , Scopes and connection strings as document mentioned and test connection and it shows token correctly

when I open Web Chat or emulator and try to access People skill bot from the Root bot . I got the following screen image

and this is the web chat output

[08:32:43 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:43 PM]<-traceTransportIntelligentAssistant.OnEvent_ConnectToSkill
[08:32:43 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:45 PM]<-typing
[08:32:45 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:47 PM]<-typing
[08:32:47 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:49 PM]<-typing
[08:32:49 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:51 PM]<-typing
[08:32:51 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:53 PM]<-traceLuisV3 Trace
[08:32:53 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:53 PM]<-tracePeople.OnIntent_GetEmailAddress
[08:32:53 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:53 PM]<-tracePeople.OnEvent_SetOptions
[08:32:53 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:53 PM]<-traceAuthenticationDialog.BeginDialog
[08:32:53 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:53 PM]<-typing
[08:32:53 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:55 PM]<-typing
[08:32:55 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:57 PM]<-typing
[08:32:57 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:58 PM]<-message
[08:32:58 PM]POST501/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
OAuth activities are not available for testing in Composer yet. Please continue using Bot Framework Emulator for testing OAuth actions.
[08:32:59 PM]<-messageOperation returned an invalid status code 'NotImplemented'
[08:32:59 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:59 PM]<-traceSkill State
[08:32:59 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:59 PM]<-traceBot State
[08:32:59 PM]POST200/v3/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities/d0d15be7-0218-45bb-af33-525ef03732f8
[08:32:59 PM]POST200/v3/directline/conversations/889f1a9d-eb6c-4ae8-bbfe-1a058fc344a5%7Clivechat/activities

Also I tried to use emulator as webchat mentions but I got same issue image

can anyone advise me what is missing ???

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dmvtechcommented, Jul 20, 2022

Apologies for the delay. I am still investigating.

0reactions
EmadKhellacommented, Sep 1, 2022

@dmvtech How can I generate silent token in composer instead of asking user to Login I found this article but It is for BOT FW . https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/authentication/auth-aad-sso-bots

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connect to a remote skill with Bot Framework Composer
The skill sends activities to the root bot's skills endpoint, and the root bot forwards the skill's replies to the user.
Read more >
How to store user conversation of Root bot and skill bot on Bot ...
User state is available in any turn that the bot is conversing with that user on that channel, regardless of the conversation.
Read more >
Tutorial: Creating a bot skill to extract passport data - IBM
Log in to Watson Orchestrate. · From the Home page, click Add skills from the catalog. · In All Apps, click Bot skill...
Read more >
Transfer data between Root bot and Skill Bot in Bot Composer
A skill is a bot that can perform a set of tasks for another bot —a bot can be both a skill and...
Read more >
Custom Skill - Anthology Inc.
You can use the Bot Framework Composer to create custom skill bots that support dialogs about specific topics that are relevant for your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found