bots


Bot Framework - Sign-In Card, how get auth result


working with Microsoft Bot Framework V3 I started using Sign-In Cards.
I did a simple cut and paste from example code page into my code and let's say it works (compiles):
https://docs.botframework.com/en-us/csharp/builder/sdkreference/attachments.html
What was expected is a behavior similar to oauth process so to be redirected to , do it's own stuffs and return the auth resul including all informations.
What I realized is that it simply open a new web page to the link I provided, that's all...
No other code founded elsewere...
So far it seems useless as I could provide the link simply with normal messages based on this behavior, also there is no communication with the bot.
Did I missed something?
No, you didn't miss anything. The Sign-In card just provide a visual way of showing to the user that it needs to authenticate. Each channel will display the Sign-In card differently; depending on the channel implementation.
To implement the OAuth process, I'd recommend you to take a look to AuthBot.
AuthBot is a .Net library for Azure Active Directory authentication on
bots built via Microsoft Bot Framework.
Even if you are not using AAD, the library is still useful to get the idea on how the OAuth process can be implemented. Aditionally, AuthBot is also using Sign-In card in some scenarios to ask the user for authentication (see this code).
There are other samples that can also help you to understand how to build the OAuth process:
Simple Facebook Auth Sample
GraphBot

Related Links

How do I parse string response in api.ai?
C# Bot Framework : Form flow set value for the field based on previous Answer [duplicate]
Connecting existing Slack RTM bots to new Microsoft bot framework back end after upgrade
Cancel a prompt or dialog after certain time - Bot Framework
How do I add a deep link to an app from my messenger bot?
How can I use the same bot on multiple facebook pages using bot framework
Why have I no callback query when i use URL in inline_keyboard?
Bot service with OAuth endpoint
What is the right way to measure time between bot's message and user's answer in the bot framework?
Telegram bot issue
Design custom entities for api.ai
How can I make a program to operate another program? [closed]
How to get the Skype username using skype calling feature
How to Resolve this issue “Could not find a stock quote for GOOGL or some other company names”
Open messenger chatbot webview extension in Chrome
How to pass control from one LUIS method to another?

Categories

HOME
qt
office365
memory
openxml
devexpress
stacktrace.js
plpgsql
tabs
fbloginview
trace32
mailgun
distributed-computing
exec-maven-plugin
xsl-fo
home
pst
intel
software-packaging
vuforia
data-collection
tracing
prompt
clipboard
annotation-processing
code-climate
dotcms
progid
publishing
rspec-rails
lxml
mongoengine
netstat
eclipse-gmf
plane
type-inference
return-type
ol3-google-maps
karabiner
redisson
aurelia-fetch-client
word-2007
nivo-slider
stateless-session-bean
thread-exceptions
e
gcloud-node
ftp-client
piping
mathnet
xcopy
textblock
gwt-syncproxy
teensy
webgrind
outlook.com
variable-length-array
sablecc
inequality
loginview
category-theory
network-printers
stripe.net
roxy-fileman
strcmp
apache-shindig
mp4parser
aero
reentrancy
proc-open
oembed
multiscaleimage
taskkill
kaazing
exponent
n-queens
datacontracts
kernel32
kohana-auth
dip
channelfactory
eaccelerator
ccnet-config
reliability
j2mepolish
downcasting
motif
icon-language
stretchblt
server-load
regioninfo
rendering-engine
jvm-bytecode

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App