问题
I have read this. The magic code has been eliminated. I test it using this sample. But it still needs the magic code? I used webchat to test it.
回答1:
The bot sample is fine. But this authentication feature currently only work if you have DirectLine enabled and are using a DirectLine secret. You can follow this blog.
来源:https://stackoverflow.com/questions/56882716/how-to-set-the-authentication-without-magic-number-botframeworkv4