I am building a Dialogflow agent and I am trying to have
account linking with OAuth
between my website and Google Assistant. And I am using Keycloak as my authentification server.
Keycloak configuration
Account Linking
Result
Then after I put the username and password
Any Ideas why Google assistant does not sgin in? And is there a way to debug it?
Related
I have a web app hosted on Azure for which I have enabled Google Sign-In under Authentication / Authorisation section of the settings of the app. I have tested it the app and can access it after signing in with my Google account - verified with couple of users, authentication works.
Next, I want to do authorization where I need to know the email of the logged in user - how can access the profile info of a user?
Documentation I have read so far:
To configure Google Sign-In I have used this documentationf rom
Azure.
To create the sign in API credentials(client id and secret), I have
used this documentation from Google. I am using OAuth2 and have
set the type to Web Application.
I have done some research and I found out that I could get profile
info using this example shown on the google documentation, but
that is given I am implementing the Sign-In UI and code which comes
with it, but in my case I have configured that in Azure and is an
in-built feature.
Is there any way, I can access user profile information (email in my case) on the application without changing the authentication method keep using Azure's in built feature to add Google sign-In?
After some more research, I found that Microsoft provides some documentation on this and can be found here.
More specifically, the email adress of the signed in user, which I was after can be fetched from header X-MS-CLIENT-PRINCIPAL-NAME.
I'm using the Nodejs SDK of Microsoft Bot Framework, and I'm trying to a ChatBot that has a Sign In Card in where the user will be redirected to a browser which will then require the user to login his/her account to a 3rd Party API.
I saw this GitHub repository: https://github.com/MicrosoftDX/botauth (BotAuth) which makes it possible to do a 3rd party authentication within the Chatbot using different providers such as Facebook, Dropbox, Pinterest and etc.
In my case, I need to add a custom provider which is not available in BotAuth. Is there a way to do this using BotAuth - Nodejs, or is there any available package that can help me solve this?
Google Actions SDK provides a way for Account Linking from the Google Developer Console wherein we can configure the redirect url for Account Linking. From here, I am redirecting to my custom url and upon successful authentication, the url returns an oAuth code.
I want to achieve the same for Facebook Account linking wherein for linking a user, it would redirect to my custom url and return the oAuth code for further processing.
Is there such capability for Account Linking FB and DialogFlow chatbot?
I am currently building a Google Assistant App/ Action using API.AI and node.js. My application needs to get permissions from the user, to get his Facebook likes and make FB Graph API calls from node.js. How can I do that? Do I need to build an android/ ios app for that?
You will need to implement account linking. However, you will not be able to use the Facebook OAuth directly but have to implement your own OAuth server. Your service will independently need to get the user to provide the Facebook OAuth credentials so you can use their API.
I activated Facebook sign-in with Azure's Mobile App Service, but the service asked to enter an ID and password.
Instagram or other famous application can login without entering the password as "Continue as a Name" if it is already logged in to FaceBook.
I would like to authenticate Facebook on Azure without entering ID or password, how can I do it?
For Server-managed authentication, your app would authenticate the user through a web view. I checked the server-flow in my Xamarin.Forms app, and found you need to enter the Facebook account info for logging. While browsing the mobile app via the browser, the login page would show "Continue as a Name" if I have already logged in to FaceBook (www.facebook.com).
Note: When using sever-flow, the page asking for Facebook account is under Facebook domain, Azure would not peek or save your Facebook account info.
I would like to authenticate Facebook on Azure without entering ID or password, how can I do it?
Based on your scenario, you need to leverage Client-managed authentication in your mobile app, and you need to install the Facebook app on the device for test. Additionally, you cannot install other apps on the iOS simulator and there may be restrictions on the Android Emulator. So, you generally need to test client flow for social providers on an actual device.
If you integrate the Facebook SDK, then your app will automatically switch to the Facebook app and ask you to approve the authentication request there. For how to integrate the Facebook SDK, you could refer to Facebook login for iOS and Facebook login for Android.