Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

(node.js) - Aadv2 sample is not working #60

Open
SeanVSpr opened this issue May 14, 2018 · 0 comments
Open

(node.js) - Aadv2 sample is not working #60

SeanVSpr opened this issue May 14, 2018 · 0 comments

Comments

@SeanVSpr
Copy link

SeanVSpr commented May 14, 2018

Unless I'm missing something the Azure AD v2 sample does not work.

I have followed all the steps described in the readme.md. The bot does respond properly to the inputs I give, then when I initiate the signin dialogue it renders the card with the oauth sign in button. However when I then try to log in it does redirect to the callbackpage (the html page in the public folder).

As far as how I've understood it, it should then show a "magic code" which I need to send to the bot to finish the authentication process. However this code

is empty, there is nothing shown at all.

Things I've tried to send to the bot which didn't work at all:

  • use the value of the "ARRAffinity" cookie
  • use the state value
  • use the code value of the callback url path

What am I supposed to send to the bot after succesfully being redirected by the bot?

Also if I set the hostname to the botservice url the redirect to the callback 404's and signin never is able to reach the /code page. Am I supposed to do extra configuration for this or is this intended?

My bot is hosted using the Azure botservice.

@SeanVSpr SeanVSpr changed the title Aadv2 example is not working Aadv2 sample is not working May 14, 2018
@SeanVSpr SeanVSpr changed the title Aadv2 sample is not working (node.js) - Aadv2 sample is not working May 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant