WebChat SSO Enterprise returns Bad Request from token.botframework using ITSM skill
See original GitHub issueAttempting to sign into the ServiceNow instance using SSO Enterprise webchat after authenticating it returns a request and doesn’t allow me to interact with then skill using those credentials.
Screenshots
Version
I am using the SSO Enterprise example 7. Advanced Web Chat apps and b. sso-for-enterprise.
<meta name="botframework-directlinespeech:version" content="4.8.0">↵<meta name="botframework-webchat:bundle:variant" content="full">↵<meta name="botframework-webchat:bundle:version" content="4.8.0">
To determine what version of Web Chat you are running, open your browser’s development tools, and paste the following line of code into the console.
[].map.call(document.head.querySelectorAll('meta[name^="botframework-"]'), function (meta) { return meta.outerHTML; }).join('\n')
If you are using Web Chat outside of a browser, please specify your hosting environment. For example, React Native on iOS, Cordova on Android, SharePoint, PowerApps, etc.
Describe the bug
Steps to reproduce
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior
I should be able to use the service now credentials for the SSO enterprise to authenticate to the ITSM skill.
Additional context
[Bug]
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
@compulim can you please take a look at this issue? Thanks.
That does not seem like a supported scenario for SSO via BotFramework. Currently, we only support AAD V2 provider for SSO. your second solution might be something you can do, if you can find a way to provide the token to webchat via a middleware. The current SSO sample does something similar - where the aadv2 token from the hosting website is accessed by webchat, but that is for aadv2 only and uses msal.