Closed Lippy1m1 closed 4 years ago
@compulim can you please take a look at this issue? Thanks.
Need to find someone from service team. Maybe because our token service doesn't play nice with ServiceNow. The OAuth token exchange is being done on the token service.
Any update on this by chance?
@swagatmishra2007 Please address immediately.
Apologies..didnt see this earlier... @Lippy1m1 i am assuming that you are able to sign into ServiceNow via webchat and SSO on skill does not work and the skill is unable to signin via SSO? What i don't understand is why is there a request to token.botframework.com in there? Can you describe a bit about your setup? i am not very familiar with servicenow, but does it use AAD underneath? Currently, we only support AADV2 connections only for SSO , so any other type of token exchange request will be rejected
So ServiceNow's authentication mechanism is Generic OAuth V2 which works with the BotFramework, but when I tried to add a button on the SSO example for it, I get the screen shot you see above.
I am attempting to have the ability to sign into ServiceNow via Webchat such that they don't have to copy and paste the token into the bot to interact with ServiceNow. Another solution would be to somehow pass the authentication between the servicenow portal where the bot is launched from so that the webchat already recognizes that previous authentication.
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.
Attempting 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.
↵↵
Describe the bug
Steps to reproduce
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]