botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Unable to authenticate through bot without magic code - Bot Framework V4

Open VidishaPasupuleti opened this issue 7 years ago • 10 comments

On launch of the bot, it is prompting for authentication with a sign in card when using Oauth prompt in bot framework V4. Once the user clicks on sign in button, a magic code is being generated and the user is able to login only upon entering the magic code. Need a way to authenticate without generating the magic code.

VidishaPasupuleti avatar Nov 19 '19 06:11 VidishaPasupuleti

Hi @VidishaPasupuleti - you are describing channel-specific behavior. What channel are you using?

v-kydela avatar Nov 20 '19 00:11 v-kydela

Hi @v-kydela I am using directline

VidishaPasupuleti avatar Nov 20 '19 04:11 VidishaPasupuleti

@VidishaPasupuleti - Okay, but are you using Web Chat or your own custom Direct Line client?

v-kydela avatar Nov 21 '19 23:11 v-kydela

@VidishaPasupuleti We need an answer to the question above to get to the bottom of this. Can you follow-up?

benbrown avatar Nov 25 '19 19:11 benbrown

@v-kydela @benbrown We are using Webchat.

VidishaPasupuleti avatar Nov 28 '19 05:11 VidishaPasupuleti

@VidishaPasupuleti - There are some potential solutions outlined in this thread: https://github.com/Microsoft/BotFramework-WebChat/issues/1238

  1. Have you tried using a Direct Line token instead of a Direct Line secret?
  2. Is the user's browser set to block 3rd party cookies?
  3. Have you tried enabling enhanced authentication options in the Azure portal?

v-kydela avatar Nov 29 '19 18:11 v-kydela

@VidishaPasupuleti - Are you still working on this?

v-kydela avatar Dec 02 '19 01:12 v-kydela

@v-kydela Hi, I am working on it. I will try out the links that you have shared. Thanks.

VidishaPasupuleti avatar Dec 02 '19 04:12 VidishaPasupuleti

@VidishaPasupuleti are you still working on this? Is your issue resolved?

anusharr avatar Dec 10 '19 17:12 anusharr

Closing the issue due to no response. Feel free to reopen if you have need to get this resolved.

anusharr avatar Dec 12 '19 18:12 anusharr